您的位置:首页 > 其它

Static or dynamic lib in vs

2016-11-27 19:41 435 查看

1. Error

value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in MyTestApp.obj


That means your project wants to use static lib as dynamic lib.

2. Solve

project properties ->

C/C++ ->

Code Generation ->

Runtime Library : choose Multi-threaded Debug DLL (for Debug) and Multi-threaded DLL (for Release).

3. ref

using_google_test_in_visual_c_2012
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: