请教Error executing link.exe问题
编译出错:
Linking...
Creating library ../export/Conferenced.lib and object ../export/Conferenced.exp
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
confcontrollerd.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_
traits@D@std@@V?$allocator@D@2@@std@@@Z)
confcontrollerd.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
_traits@D@std@@V?$allocator@D@2@@std@@@Z)
../export/Conferenced.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
confcontrollerd.lib是自己编译的,到底是什么问题?怎么解决?谢谢!!
[解决办法]
confcontrollerd.lib是用/MT还是/MD编译的
把开关统一
[解决办法]
请教楼上的专家,我openmp并行一个循环,原循环有另一变量控制跳出条件可以跳出循环,在OpenMP下该怎么写呢?好像不能用return、break之类的……