|
Compiling ...
UsbApi.cpp
Linking ...
uniClient.def: error LNK2001: unresolved external symbol comm_CopyFile
Release / uniClient.lib: fatal error LNK1120: 1 unresolved externals
LINK: fatal error LNK1141: failure during build of exports file
Error executing link.exe.
Creating browse info file ...
uniClient.dll-3 error (s), 0 warning (s)
In the above error, the comm_CopyFile function is not used at all. I don't know why this prompt appears. I don't understand the role of the .def file. If you delete this in the .def file, you can't generate .dll after compilation.
Creating library Release / uniClient.lib and object Release / uniClient.exp
LINK: warning LNK4089: all references to "SHELL32.dll" discarded by / OPT: REF
How could this happen? I have never encountered such a LINK error before? Please master a little brother |
|