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相关文章推荐
- The Distinguish of the share or static lib in MFC
- configure: error: libmpfr not found or uses a different ABI (including static vs shared).
- Dynamic Binding vs Static Binding in Java
- Protocol https not supported or disabled in libcurl
- Static Dynamic Library Or Framework
- ERROR 1336 (0A000): Dynamic SQL is not allowed in stored function or trigger
- dynamic_cast .vs. static_cast && static_cast .vs. reinterpret_cast
- static_cast vs dynamic_cast
- git clone 遇到Protocol https not supported or disabled in libcurl,何解
- 又一次血的教训:Protocol http not supported or disabled in libcurl
- Regions Add-In for VS.NET 2005 or VS.NET 2008简要使用说明
- Protocol https not supported or disabled in libcurl
- Static Linking vs Dynamic Linking
- 如何在没有安装MFC的机器上运行程序--更改VS设置为Use MFCin a static Library
- Regular cast vs. static_cast vs.dymamic_cast in C++
- Type Inference vs. Static/Dynamic Typing
- how to compile and link static/dynamic library in linux
- [转]Dynamic and static Rectangle in WPF
- if U got these error when using libcurl in vs, see this
- Static method vs class method in Python