Qt 4.7.2 build failure on QtWebKit using Visual Studio 2010



  • Hi,

    I'm using Windows 7 Ultimate 64 bit and Visual Studio 2010 Version 10.0.40219.1 SP1Rel to build Qt.
    The configuration is -opensource -no-qt3support -mp -platform win32-msvc2010.
    Is there any workaround for this issue?

    @
    cl -c -FIWebKit_pch.h -YuWebKit_pch.h -Fptmp\obj\debug_shared\QtWebKitd_pch.pch -nologo -Zm200 -Zc:wchar_t- -wd4
    291 -wd4344 -wd4396 -wd4503 -wd4800 -wd4819 -wd4996 -Zi -MDd -W3 -w34100 -w34189 -MP -GR -EHsc -DQT_SHARED -DQT_THREAD_S
    UPPORT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING -DUSE_SYSTEM_MALLOC
    -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CO
    NCATENATION -D_USE_MATH_DEFINES -DBUILD_WEBKIT -DNDEBUG -D_HAS_TR1=0 -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDIN
    G_WTF -DENABLE_VIDEO=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_AP
    PLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_ORIENTATION_EVENTS=0 -
    DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_WML=0 -DENABL
    E_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DATAGRID=0 -DENABLE_RUBY=1 -DENABLE_SANDBOX=1 -DENABLE
    _PROGRESS_TAG=1 -DENABLE_BLOB_SLICE=0 -DENABLE_3D_RENDERING=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_O
    BJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=1 -DENABLE_TILED_BACKING_S
    TORE=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_XSLT=0 -DENABLE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=
    1 -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
    -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"........\include\QtCore" -I"......
    ..\include\QtNetwork" -I"........\include\QtGui" -I"........\include" -I"bridge\qt" -I"page\qt" -I"platform\graphi
    cs\qt" -I"platform\network\qt" -I"platform\qt" -I"..\WebKit\qt\Api" -I"..\WebKit\qt\WebCoreSupport" -I"." -I"accessibili
    ty" -I"bindings\js" -I"bridge" -I"bridge\c" -I"bridge\jsc" -I"css" -I"dom" -I"dom\default" -I"editing" -I"history" -I"ht
    ml" -I"html\canvas" -I"inspector" -I"loader" -I"loader\appcache" -I"loader\archive" -I"loader\icon" -I"notifications" -I
    "page" -I"page\animation" -I"platform" -I"platform\animation" -I"platform\graphics" -I"platform\graphics\filters" -I"pla
    tform\graphics\transforms" -I"platform\image-decoders" -I"platform\mock" -I"platform\network" -I"platform\sql" -I"platfo
    rm\text" -I"plugins" -I"rendering" -I"rendering\style" -I"storage" -I"svg" -I"svg\animation" -I"svg\graphics" -I"svg\gra
    phics\filters" -I"websockets" -I"wml" -I"workers" -I"xml" -I"generated" -I"..\JavaScriptCore" -I"....\webkit" -I"..\Jav
    aScriptCore\assembler" -I"..\JavaScriptCore\bytecode" -I"..\JavaScriptCore\bytecompiler" -I"..\JavaScriptCore\debugger"
    -I"..\JavaScriptCore\interpreter" -I"..\JavaScriptCore\jit" -I"..\JavaScriptCore\parser" -I"..\JavaScriptCore\pcre" -I".
    .\JavaScriptCore\profiler" -I"..\JavaScriptCore\runtime" -I"..\JavaScriptCore\wtf" -I"..\JavaScriptCore\wtf\symbian" -I"
    ..\JavaScriptCore\wtf\unicode" -I"..\JavaScriptCore\yarr" -I"..\JavaScriptCore\API" -I"..\JavaScriptCore\ForwardingHeade
    rs" -I"..\JavaScriptCore\generated" -I"..\JavaScriptCore\os-win32" -I"..\include\QtWebKit" -I"........\include\QtWebK
    it" -I"tmp\rcc\debug_shared" -I"tmp" -I"plugins\win" -I"platform\win" -I"....\sqlite" -I"........\include\phonon" -I
    "........\include\ActiveQt" -I"tmp\moc\debug_shared" -I"........\mkspecs\win32-msvc2010" -Fotmp\obj\debug_shared
    @C:\Users\Main\AppData\Local\Temp\nm9655.tmp
    NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.EXE"' : return code '0xc00001
    35'
    Stop.
    NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    @

    Thanks,
    Flaviu

    [EDIT: code formatting, please use @-tags, Volker]



  • Are you trying to build the Qt "source":http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.2.zip or to re-build some SDK?

    //the source built never failed for me



  • I uses this source http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.2.tar.gz
    Previously I have installed Qt 4.7.1, but I changed all paths to the newest SDK (4.7.2).
    Maybe something is wrong on my side. I will rename the folder 4.7.1 and I will retry to build 4.7.2.

    [EDIT: fixed link, Volker]



  • It works. Something was wrong on PATH. I included "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" in PATH for using nmake instead of using Visual Studio Command Prompt (2010).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.