VS2012工程升级到VS2013错误处理

1:unresolved external symbol __dtoui3
 
解决方案:(英文很简单)
1:To set this compiler option for AVX, IA32, SSE, or SSE2 in Visual Studio
2:Open the Property Pages dialog box for the project. 
3:Select the C/C++ folder.
4:Select the Code Generation property page.
5:Modify the Enable Enhanced Instruction Set property.
 
 
2:error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1700' 
 解决方案:
MSVC++ 11.0 _MSC_VER = 1800 (Visual Studio 2013)
MSVC++ 11.0 _MSC_VER = 1700 (Visual Studio 2012)
MSVC++ 10.0 _MSC_VER = 1600 (Visual Studio 2010)
错误原因应该是VS2013工程引用了VS2012的库
今天发现原因是dll工程的Platform Toolset使用的是Visual Studio 2012(v110),而不是Visual Studio 2013 (v120)
posted @ 2013-10-30 19:20  narutoinfo  阅读(2271)  评论(1)    收藏  举报