Building QT 4.8.3 with jom on cmd
-
I use mingw-64 (ruben build). The reason I use jom, it is different errors with mingw32-make and MSYS make. Such as "couldn't commit memory for cygwin heap, Win32 error 0 " (out of memory error) and "The syntax of the command is incorrect. ".
I wrote a small .bat to do that:
@"../src/configure.exe" ^
-fast ^
-shared ^
-static ^
-debug-and-release ^
-opensource ^
-confirm-license ^
-no-dsp ^
-no-vcproj ^
-no-qt3support ^
-no-phonon ^
-no-phonon-backend ^
-platform win32-g++ ^
-nomake demos -nomake examples ^
-prefix "D:\qt\4.8.3\x86_64-w64-mingw32"
jom -j4@But It seems I am doing something wrong.
@jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qtsciicodec.o] Error 1
jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qutfcodec.o] Error 1
d:/qt/4.8.3/src/src/corelib/codecs/qtextcodec.cpp:42:27: fatal error: qplatformdefs.h: No such file or directory
compilation terminated.
d:/qt/4.8.3/src/src/corelib/global/qglobal.cpp:42:27: fatal error: qplatformdefs.h: No such file or directory
compilation terminated.
jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qtextcodec.o] Error 1
jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qglobal.o] Error 1
d:/qt/4.8.3/src/src/corelib/global/qmalloc.cpp:42:27: fatal error: qplatformdefs.h: No such file or directory
compilation terminated.
jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qmalloc.o] Error 1
jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qlatincodec.o] Error 1
jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile.Release [tmp\obj\release_static\qsimplecodec.o] Error 1
jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile [release] Error 2
jom: D:\qt\4.8.3\tmp\src\tools\bootstrap\Makefile [all] Error 2
jom: D:\qt\4.8.3\tmp\Makefile [sub-tools-bootstrap-make_default-ordered] Error 2
jom: D:\qt\4.8.3\tmp\Makefile [all] Error 2 @ -
Hello:
Same error here, I have read many post and no luck so far. I increased the virtual memory of the machine, changed the .dll of msys as suggested in some forums, ignored the error and typed make several times, and turned off my avast antivirus.
I am using Mingw-w64 from TDM-GCC and the Qt 4.8.3 source. I am buidling Qt using the steps outlined by http://mingw.5.n7.nabble.com/Compiling-Qt-4-8-1-with-MinGW-w64-td13666.html.
The steps worked exc for configuration, but it is not working for the make command, it always fails with the same error:C:\msys\bin\make.exe: *** couldn't commit memory for cygwin heap, Win32 error 0
make[2]: *** [release] Error 1Any help would be much appreciated.
Thank you very much
-
Hello:
I just managed to compile the Qt libraries for 4.8.3.
It kept failing with the same error, but I kept typing make in the msys shell every single fail.
Eventually it compiled. The command mingw32-make install also worked.Cheers
-
Hi, ~CanisMajorWuff!
Welcome to Developer Network!
Sorry, but it's better to write Qt instead of QT. Because QT is QuickTime, not Qt.