VC++的链接错误LNK2005

Project Settings->C/C++ Tab->Category:CodeGeneration
Use run-time library组合框中选择Multithread Dll(或Debug Multithread Dll )

 

#include "stdafx.h"

 

#pragma comment(lib,"cppunit.lib")
#pragma comment(lib,"TestRunner.lib")

评论
发表评论

您还没有登录,请登录后发表评论