c++ - NMAKE fatal error U1077 in Qt build with webkit -
i trying build qt 4.8.6 x64 static library visual studio 2013 sp5 webkit included, error after few minutes of running nmake:
generating code... lib /nologo /out:..\..\lib\qtdeclarative.lib @c:\users\siavash\appdata\local\temp\nm3ea3.tmp qdeclarativeevents.obj : warning lnk4221: object file not define undefined public symbols, not used link operation consumes library qlistmodelinterface.obj : warning lnk4221: object file not define undefined public symbols, not used link operation consumes library cd src\3rdparty\webkit\source\ && c:\msvs2013\vc\bin\nmake.exe -f makefile.webkit microsoft (r) program maintenance utility version 12.00.21005.1 copyright (c) microsoft corporation. rights reserved. cd javascriptcore\ && c:\msvs2013\vc\bin\nmake.exe -f makefile.webkit microsoft (r) program maintenance utility version 12.00.21005.1 copyright (c) microsoft corporation. rights reserved. c:\qt\4.8.6\bin\qmake.exe -o makefile.webkit javascriptcore.pro c:\msvs2013\vc\bin\nmake.exe -f makefile.webkit.release microsoft (r) program maintenance utility version 12.00.21005.1 copyright (c) microsoft corporation. rights reserved. cl -c -nologo -zm200 -zc:wchar_t- -fs -wd4291 -wd4344 -wd4396 -wd4503 -wd4800 -wd4819 -wd4996 -o2 -md -gr -ehsc -dunicode -dwin32 -dndebug -dbuilding_qt__=1 -dndebug -dqt_ascii_cast_warnings -d_has_tr1=0 -dbuilding_javascriptcore -dbuilding_wtf -dqt_no_debug -dqt_core_lib -dqt_have_mmx -dqt_have_3dnow -dqt_have_sse -dqt_have_mmxext -dqt_have_sse2 -dqt_thread_support -i"..\..\..\..\..\include\qtcore" -i"..\..\..\..\..\include" -i"." -i"..\..\source" -i"..\thirdparty" -i"assembler" -i"bytecode" -i"bytecompiler" -i"heap" -i"dfg" -i"debugger" -i"interpreter" -i"jit" -i"parser" -i"profiler" -i"runtime" -i"wtf" -i"wtf\gobject" -i"c:\qt\4.8.6\src\3rdparty\webkit\source\javascriptcore\wtf\symbian" -i"wtf\unicode" -i"yarr" -i"api" -i"forwardingheaders" -i"generated" -i"os-win32" -i"..\..\source" -i"..\..\include" -i"\include\qtwebkit" -i"\include" -i"..\..\..\..\..\include\activeqt" -i"tmp\moc\release_static" -i"..\..\..\..\..\mkspecs\win32-msvc2013" -fotmp\obj\release_static\ @c:\users\siavash\appdata\local\temp\nm4880.tmp datemath.cpp .\wtf/mathextras.h(117) : error c2491: 'round' : definition of dllimport function not allowed .\wtf/mathextras.h(124) : error c2491: 'roundf' : definition of dllimport function not allowed .\wtf/mathextras.h(146) : error c2084: function 'bool signbit(double)' has body c:\msvs2013\vc\include\math.h(324) : see previous definition of 'signbit' c:\qt\4.8.6\src\3rdparty\webkit\source\javascriptcore\runtime\jsvalueinlinemethods.h(168) : error c2264: 'signbit' : error in function definition or declaration; function not called dtoa.cpp .\wtf/mathextras.h(117) : error c2491: 'round' : definition of dllimport function not allowed .\wtf/mathextras.h(124) : error c2491: 'roundf' : definition of dllimport function not allowed .\wtf/mathextras.h(146) : error c2084: function 'bool signbit(double)' has body c:\msvs2013\vc\include\math.h(324) : see previous definition of 'signbit' decimalnumber.cpp .\wtf/mathextras.h(117) : error c2491: 'round' : definition of dllimport function not allowed .\wtf/mathextras.h(124) : error c2491: 'roundf' : definition of dllimport function not allowed .\wtf/mathextras.h(146) : error c2084: function 'bool signbit(double)' has body c:\msvs2013\vc\include\math.h(324) : see previous definition of 'signbit' generating code... nmake : fatal error u1077: 'c:\msvs2013\vc\bin\x86_amd64\cl.exe' : return code '0x2' stop. nmake : fatal error u1077: 'c:\msvs2013\vc\bin\nmake.exe' : return code '0x2' stop. nmake : fatal error u1077: 'cd' : return code '0x2' stop. nmake : fatal error u1077: 'cd' : return code '0x2' stop.
this problem not exist when not explicitly configure qt build webkit, not built otherwise, if default option. configuration use:
configure -opensource -release -static -webkit -platform win32-msvc2013
i understand problem might similar this one, because visual studio 2013 supported qt 4.8.6 think problem has different reason. furthermore, have tried moving of necessary packages , reinstalling vs ensure paths use not include spaces or not "too long". have searched through many guides , posts nothing seems me this. there might missing?
Comments
Post a Comment