请教编译的问题
Linking...
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
imcontrollerd.lib(IMController.obj) : error LNK2001: unresolved external symbol __imp__DeleteTimerQueueTimer@12
imcontrollerd.lib(BaseClient.obj) : error LNK2001: unresolved external symbol "public: __thiscall Data::Data(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Data@@QAE@ABV?$basic_string@DU?$char_t
raits@D@std@@V?$allocator@D@2@@std@@@Z)
imcontrollerd.lib(Idmclient.obj) : error LNK2001: unresolved external symbol "public: __thiscall Data::Data(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Data@@QAE@ABV?$basic_string@DU?$char_tr
aits@D@std@@V?$allocator@D@2@@std@@@Z)
../export/IMd.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
IMd.exe - 4 error(s), 1 warning(s)
后来,我安装并配置了Platform SDK,
imcontrollerd.lib(IMController.obj) : error LNK2001: unresolved external symbol __imp__DeleteTimerQueueTimer@12
错误就没有了,但还有三个错误,请问怎么解决?谢谢!!
------解决方案--------------------
试试将Kernel32.lib加入项目
或在程序中加入
#pragma comment (lib, "Kernel32.lib")