VC6.0下编译。
Linking...
Creating library \JSK80debug\EasyDB/dbui.lib and object \JSK80debug\EasyDB/dbui.exp
DlgDownload.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall service_file_man::setSrvClock(void)" (__imp_?setSrvClock@service_file_man@@QAEHXZ)
\JSK80debug\EasyDB/dbui.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
所要包含的库文件,都包含了,上午还好好的,中间我生成过Release版本,然后在生产Debug版本就出错了 删除Debug和Release文件夹,重新编译,还是不行
Linking...
Creating library \JSK80debug\EasyDB/dbui.lib and object \JSK80debug\EasyDB/dbui.exp
DlgDownload.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall service_file_man::setSrvClock(void)" (__imp_?setSrvClock@service_file_man@@QAEHXZ)
\JSK80debug\EasyDB/dbui.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
所要包含的库文件,都包含了,上午还好好的,中间我生成过Release版本,然后在生产Debug版本就出错了 删除Debug和Release文件夹,重新编译,还是不行
2、函数声明了未具体实现
3、相应的cpp文件未包含到工程里LZ参考下下。。~
是否有条件编译?
....
#else
...
#endif
之类的