Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

[Compiling Qt Framework] Qt 5.4 Final / Recipe for Target .obj/debug/blocklayout.o failed / Error 2

$
0
0
Hello Forum. I have a strange Problem since the 5.4 Alpha [I have not tested the Beta or RC]: Whenever I try to compile Qt 5.4, it fails after 5 Minutes with the above Error. And before someone is asking: Compiling Qt Source prior to 5.4 (incl. 5.3.2) with all Examples and Tests, is working fine without any kind of Error (well, besides the usual “bad escape sequence” Stuff in some Files – but this is existent since 5.0 (the first Version I started to use). My System: Windows 7 ×64 SP1 CPU: AMD Phenom II 965 BE RAM: 16GB Source HDD: 50+ GB Space Free Target HDD: 85+ GB Free The Following Tools were fresh installed just yesterday (clean removed with Revo Uninstaller plus a dozen of restarts and all those things): Ruby Version: 2.1.5p273 [i386-MingW32] – Path correctly set ActivePerl Version: 5.20.1.2000 ×86 (32-bit) – Path correctly set ActivePython Version: 3.4.2 ×86 (32-bit) – Path correctly set ICU: 54.1 Final GitSCM: 1.9.4 – sh.exe renamed before i started the compiling and also removed git from the Path Settings OpenSSL Libraries: Version 1.0.1j OpenSSL Binaries for Win32 + Win64: 1.0.1j – removed the OPENSSLx64_Conf Setting from the Path as it gave Errors when compiling Qt with the Win32 OpenSSL Library. DirectX SDK June 2010 – Path is correctly set Microsoft Windows 8.1 SDK (only the SDK Main Files plus the Debugging Tools) The Bison, GPerf, Flex etc. Tools are used from the Qt Source Folder and are within the System and the User Environment Path correctly set. Qt Version I want to build: Qt 5.4.0 ×86 directly from the Source Archive (Zip File) Used Compiler: MingW32 4.9.2-Release-Posix-Dwarf-rt_V3_Rev0 [Yes I tried older Compiler Versions but it also has the same Result: 5.4 fails, older Qt Versions compile fine.] My Configure Line looks as follows: c:\qt-everywhere-opensource-src-5.4.0\configure -opensource -confirm-license -prefix d:\qt-build -skip webengine -opengl dynamic -debug-and-release -developer-build -icu -I C:\icu\dist\include -L C:\icu\dist\lib -openssl -I C:\OpenSSL-Win32\include -L c:\OpenSSL-Win32\lib\MinGW -platform win32-g++ But even when I dont use “-opengl dynamic”, it still fails and give the same Error. More Details about the Error: In file included from C:\qt-everywhere-opensource-src-5.4.0\qtbase\src\3rdparty\angle\src/common/platform.h:51:0,                     from C:\qt-everywhere-opensource-src-5.4.0\qtbase\src\3rdparty\angle\src/common/angleutils.h:12,                     from C:\qt-everywhere-opensource-src-5.4.0\qtbase\src\3rdparty\angle\src/common/debug.h:15,                     from C:\qt-everywhere-opensource-src-5.4.0\qtbase\src\3rdparty\angle\src/common/mathutil.h:12,                     from C:\qt-everywhere-opensource-src-5.4.0\qtbase\src\3rdparty\angle\src\common\blocklayout.cpp:11:     C:/mingw32/i686-w64-mingw32/include/intrin.h:791:5: error: conflicting declaration of '__m64 _m_pswapd(__m64)' with 'C' linkage         __MACHINEX86X_NOWIN64(__m64 _m_pswapd(__m64))         ^     In file included from C:/mingw32/lib/gcc/i686-w64-mingw32/4.9.2/include/x86intrin.h:48:0,                     from C:/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/opt_random.h:33,                     from C:/mingw32/i686-w64-mingw32/include/c++/random:50,                     from C:/mingw32/i686-w64-mingw32/include/c++/bits/stl_algo.h:66,                     from C:/mingw32/i686-w64-mingw32/include/c++/algorithm:62,                     from C:\qt-everywhere-opensource-src-5.4.0\qtbase\src\3rdparty\angle\include/GLSLANG/ShaderVars.h:15,                     from C:\qt-everywhere-opensource-src-5.4.0\qtbase\src\3rdparty\angle\include/GLSLANG/ShaderLang.h:47,                     from C:\qt-everywhere-opensource-src-5.4.0\qtbase\src\3rdparty\angle\src/common/blocklayout.h:17,                     from C:\qt-everywhere-opensource-src-5.4.0\qtbase\src\3rdparty\angle\src\common\blocklayout.cpp:10:     C:/mingw32/lib/gcc/i686-w64-mingw32/4.9.2/include/mm3dnow.h:206:1: note: previous declaration with 'C++' linkage     _m_pswapd (__m64 __A)     ^     Makefile.Debug:1045: recipe for target '.obj/debug/blocklayout.o' failed     mingw32-make[6]: *** [.obj/debug/blocklayout.o] Error 1     mingw32-make[6]: Leaving directory 'D:/xxqts/qtbase/src/angle/src/libGLESv2'     Makefile:38: recipe for target 'debug-all' failed     mingw32-make[5]: *** [debug-all] Error 2     mingw32-make[5]: Leaving directory 'D:/xxqts/qtbase/src/angle/src/libGLESv2'     Makefile:83: recipe for target 'sub-libGLESv2-make_first-ordered' failed     mingw32-make[4]: *** [sub-libGLESv2-make_first-ordered] Error 2     mingw32-make[4]: Leaving directory 'D:/xxqts/qtbase/src/angle/src'     Makefile:38: recipe for target 'sub-src-make_first' failed     mingw32-make[3]: *** [sub-src-make_first] Error 2     mingw32-make[3]: Leaving directory 'D:/xxqts/qtbase/src/angle'     Makefile:361: recipe for target 'sub-angle-make_first' failed     mingw32-make[2]: *** [sub-angle-make_first] Error 2     mingw32-make[2]: Leaving directory 'D:/xxqts/qtbase/src'     Makefile:41: recipe for target 'sub-src-make_first' failed     mingw32-make[1]: *** [sub-src-make_first] Error 2     mingw32-make[1]: Leaving directory 'D:/xxqts/qtbase'     makefile:64: recipe for target 'module-qtbase-make_first' failed     mingw32-make: *** [module-qtbase-make_first] Error 2 Did I miss to install some Tools / Libraries for Angle or OpenGL? I see no additional Requirements for Qt 5.4. I really appreciate every single Tip you very nice People have for me :) Thanks in advance Oliver

Viewing all articles
Browse latest Browse all 2113

Trending Articles