[Development] Build failed use MinGW-TDM or MinGW-w64 on Windows

Loaden loaden at gmail.com
Tue May 15 10:21:14 CEST 2012


Full configure/build log, please see attachments.

2012/5/15 Loaden <loaden at gmail.com>

> Hi, All!
> I am just try to build Qt5 under Windows, use MinGW-TDM or MinGW-w64
> (32bit), but both failed with the same log.
> I don't know how to fix the problem.
> Any comments?
>
>> cd svg\ && mingw32-make -f Makefile
>>
>> mingw32-make[3]: Entering directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src/svg'
>>
>> mingw32-make -f Makefile.Debug all
>>
>> mingw32-make[4]: Entering directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src/svg'
>>
>> g++ -c -fno-keep-inline-dllexport -g -Wall -frtti -fexceptions -mthreads
>>> -DQT_SHARED -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BUILD_SVG_LIB
>>> -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII
>>> -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
>>> -DQT_DEPRECATED_WARNINGS -D_USE_MATH_DEFINES -DQT_DLL -DQT_HAVE_SSE2
>>> -I"d:\qpSOFT\Projects\BuildQt5-TDM\qtbase\include"
>>> -I"..\..\include\QtSvg\5.0.0" -I"..\..\include\QtSvg\5.0.0\QtSvg"
>>> -I"..\..\include" -I"..\..\include\QtSvg" -I"..\..\include" -I"tmp"
>>> -I"d:\qpSOFT\Projects\Qt5\qtbase\src\3rdparty\harfbuzz\src"
>>> -I"d:\qpSOFT\Projects\Qt5\qtsvg\src\3rdparty\zlib"
>>> -I"d:\qpSOFT\Projects\Qt5\qtbase\mkspecs\win32-g++" -I"debug"
>>> -I"d:\qpSOFT\Projects\Qt5\qtsvg\src\svg" -I"."
>>> -I"d:\qpSOFT\Projects\BuildQt5-TDM\qtbase\mkspecs\default" -o
>>> debug\qsvggraphics.o d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvggraphics.cpp
>>
>> In file included from
>>> d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvgnode_p.h:56:0,
>>
>>                  from
>>> d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvggraphics_p.h:56,
>>
>>                  from
>>> d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvggraphics.cpp:42:
>>
>> d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvgstyle_p.h:65:20: fatal error:
>>> qdebug.h: No such file or directory
>>
>> compilation terminated.
>>
>> mingw32-make[4]: *** [debug/qsvggraphics.o] Error 1
>>
>> mingw32-make[4]: Leaving directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src/svg'
>>
>> mingw32-make[3]: *** [debug-all] Error 2
>>
>> mingw32-make[3]: Leaving directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src/svg'
>>
>> mingw32-make[2]: *** [sub-svg-make_default-ordered] Error 2
>>
>> mingw32-make[2]: Leaving directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src'
>>
>> mingw32-make[1]: *** [module-qtsvg-src-make_default] Error 2
>>
>> mingw32-make[1]: Leaving directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg'
>>
>> mingw32-make: *** [module-qtsvg-make_default] Error 2
>>
>> mingw32-make: *** Waiting for unfinished jobs....
>>
>> Project MESSAGE: Warning: unknown QT module: network
>>
>> Project MESSAGE: Warning: unknown QT module: core
>>
>> Project MESSAGE: This project is using private headers and will therefore
>>> be tied to this specific Qt module build version.
>>
>> Project MESSAGE: Running this project against other versions of the Qt
>>> modules may crash at any arbitrary point.
>>
>> Project MESSAGE: This is not a bug, but a result of using Qt internals.
>>> You have been warned!
>>
>> Project MESSAGE: Warning: unknown QT module: network
>>
>> Project MESSAGE: Warning: unknown QT module: core
>>
>> Project MESSAGE: Warning: unknown QT module: network
>>
>> Project MESSAGE: Warning: unknown QT module: core
>>
>> cd xmlpatterns\ && mingw32-make -f Makefile
>>
>> mingw32-make[3]: Entering directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src/xmlpatterns'
>>
>> mingw32-make -f Makefile.Debug all
>>
>> mingw32-make[4]: Entering directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src/xmlpatterns'
>>
>> g++ -c -fno-keep-inline-dllexport -g -Wall -fexceptions -mthreads -frtti
>>> -DQT_SHARED -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BUILD_XMLPATTERNS_LIB
>>> -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII
>>> -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
>>> -DQT_DEPRECATED_WARNINGS -D_USE_MATH_DEFINES -DQT_DLL -DQT_HAVE_SSE2
>>> -I"d:\qpSOFT\Projects\BuildQt5-TDM\qtbase\include"
>>> -I"..\..\include\QtXmlPatterns\5.0.0"
>>> -I"..\..\include\QtXmlPatterns\5.0.0\QtXmlPatterns" -I"..\..\include"
>>> -I"..\..\include\QtXmlPatterns" -I"..\..\include" -I"tmp"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\acceltree"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\data"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\api"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\environment"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\expr"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\functions"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\iterators"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\janitors"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\parser"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\schema"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\type"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\utils"
>>> -I"d:\qpSOFT\Projects\Qt5\qtbase\mkspecs\win32-g++" -I"debug"
>>> -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns" -I"."
>>> -I"d:\qpSOFT\Projects\BuildQt5-TDM\qtbase\mkspecs\default" -o
>>> debug\qacceltree.o
>>> d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\acceltree\qacceltree.cpp
>>
>> d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\acceltree\qacceltree.cpp:42:18:
>>> fatal error: QStack: No such file or directory
>>
>> compilation terminated.
>>
>> mingw32-make[4]: *** [debug/qacceltree.o] Error 1
>>
>> mingw32-make[4]: Leaving directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src/xmlpatterns'
>>
>> mingw32-make[3]: *** [debug-all] Error 2
>>
>> mingw32-make[3]: Leaving directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src/xmlpatterns'
>>
>> mingw32-make[2]: *** [sub-xmlpatterns-make_default] Error 2
>>
>> mingw32-make[2]: Leaving directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src'
>>
>> mingw32-make[1]: *** [module-qtxmlpatterns-src-make_default] Error 2
>>
>> mingw32-make[1]: Leaving directory
>>> `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns'
>>
>> mingw32-make: *** [module-qtxmlpatterns-make_default] Error 2
>>
>>
>>
> --
> Please don't ask where I come from, It's a shame!
> Best Regards
> Yuchen
>
>


-- 
Please don't ask where I come from, It's a shame!
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120515/1221b9c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.zip
Type: application/zip
Size: 226968 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120515/1221b9c2/attachment.zip>


More information about the Development mailing list