VC++的链接错误LNK2005

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")

你可能感兴趣的:(C++,c,C#,vc++)