mismatch detected for '_MSC_VER': value '1900' doesn't match value '1800' in mathutil.obj during Windows build from source
-
Hello,
I am upgrading from 5.5.1 to 5.6. I have downloaded and unzipped the source and have used the following commands prior to nmake:
@
CALL "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
..\qt-everywhere-enterprise-src-5.6.0\configure -release -nomake tests -nomake examples -skip qtwebchannel -skip qt3D -skip qtsensors -skip qtserialport -skip qtwayland -skip qtandroidextras -icu -platform win32-msvc2015
nmake
@After about 5 minutes, I get the following error:
...(a variety of apparently good output, then:)
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS /DEF:C:\Qt\qt-everywhere-enterprise-src-5.6.0\qtbase\src\3rdparty\angle\src\libGLESv2\libGLESv2.def /MANIFEST:embed /OUT:........\lib\libGLESv2.dll @C:\Users\buckler\AppData\Local\Temp\nmD35F.tmp
preprocessor.lib(Preprocessor.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1900' doesn't match value '1800' in mathutil.obj
preprocessor.lib(DiagnosticsBase.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1900' doesn't match value '1800' in mathutil.obj
preprocessor.lib(DirectiveHandlerBase.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1900' doesn't match value '1800' in mathutil.obj
preprocessor.lib(Token.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1900' doesn't match value '1800' in mathutil.obj
msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: void __cdecl std::_Container_base0::_Orphan_all(void)" (?_Orphan_all@_Container_base0@std@@QEAAXXZ) already defined in preprocessor.lib(Preprocessor.obj)
Creating library ........\lib\libGLESv2.lib and object ........\lib\libGLESv2.exp
preprocessor.lib(Token.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z)
preprocessor.lib(Preprocessor.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z)
preprocessor.lib(DiagnosticsBase.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z)
preprocessor.lib(DirectiveHandlerBase.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z)
preprocessor.lib(Lexer.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z)
preprocessor.lib(Preprocessor.obj) : error LNK2019: unresolved external symbol __std_terminate referenced in function "intpublic: __cdecl pp::Preprocessor::~Preprocessor(void)'::
1'::dtor$0" (?dtor$0@?0???1Preprocessor@pp@@QEAA@XZ@4HA)
........\lib\libGLESv2.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\link.EXE"' : return code '0x460'
Stop.