|
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)
上面的错误中comm_CopyFile 函数根本没有用到,不知道为什么回出现这种提示,不明白.def文件的作用,如果把这个在.def文件中删除的话编译后就不能生成.dll,程序提示warning:
Creating library Release/uniClient.lib and object Release/uniClient.exp
LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
怎么会这样呢?以前从来没遇到过这么LINK的错误?请个高手指点下小弟 |
|