error LNK2001: unresolved external symbol "public: virtual __thiscall CppUnit的解决办法

path路径配好之后,注意修改工程-》设置-》连接选项卡->>"对象/库模块"中添加cppunitd.lib 类包.变成下面类似的工程选项

cppunitd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/CppHelloWorld.pdb"

/debug /machine:I386 /out:"Debug/CppHelloWorld.exe" /pdbtype:sept

你可能感兴趣的:(error LNK2001: unresolved external symbol "public: virtual __thiscall CppUnit的解决办法)