Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------
- my BAT script:
- -----------------
- SET QTDIR=C:\Qt5
- SET MINGWDIR=C:\MinGW
- SET QMAKESPEC=win32-g++
- SET PATH=C:\Qt5\bin;C:\MinGW\bin;C:\Python34\;C:\Python34\Scripts;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\System32;C:\Python34;C:\Python34\Scripts;C:\Perl\site\bin;C:\Perl\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
- configure -debug-and-release -static -nomake examples -platform win32-g++
- mingw32-make sub-src
- -----------------
- output:
- -----------------
- Microsoft Windows [Version 6.1.7600]
- C:\Users\denis>cd /Qt5
- C:\Qt5>run.bat
- C:\Qt5>SET QTDIR=C:\Qt5
- C:\Qt5>SET MINGWDIR=C:\MinGW
- C:\Qt5>SET QMAKESPEC=win32-g++
- C:\Qt5>SET PATH=C:\Qt5\bin;C:\MinGW\bin;C:\Python34\;C:\Python34\Scripts;C:\Perl\site\bin;C:\Perl\ ...
- C:\Qt5>configure -debug-and-release -static -nomake examples -platform win32-g++
- ...
- ...
- ...
- Creating qmake...
- ...
- ...
- ...
- g++ -c -include .pch\debug\qt_pch.h -pipe -fno-keep-inline-dllexport -msse2 -mstackrealign -mfpmath=sse -g -std=c++0x -fno-exceptions -frtti -Wall -Wextra -DUNICODE -DQT_NO_USING_N
- AMESPACE -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDE
- R -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -I. -I"..\..\include" -I"..\..\include\QtNetwork" -I"..\..\include\QtNetwork\5.3
- .1" -I"..\..\include\QtNetwork\5.3.1\QtNetwork" -I"tmp" -I"..\3rdparty\zlib" -I"kernel" -I"..\..\include\QtCore\5.3.1" -I"..\..\include\QtCore\5.3.1\QtCore" -I"..\..\include\QtCore
- " -I".moc\debug" -I"..\..\mkspecs\win32-g++" -o .obj\debug\qhttpnetworkreply.o access\qhttpnetworkreply.cpp
- In file included from ..\..\mkspecs\win32-g++/qplatformdefs.h:56:0,
- from access\qhttpnetworkreply_p.h:55,
- from access\qhttpnetworkreply.cpp:42:
- c:\mingw\include\io.h:301:14: error: 'off64_t' does not name a type
- __CRT_INLINE off64_t lseek64 (int, off64_t, int);
- ^
- c:\mingw\include\io.h:302:14: error: 'off64_t' does not name a type
- __CRT_INLINE off64_t lseek64 (int fd, off64_t offset, int whence) {
- ^
- Makefile.Debug:8007: recipe for target '.obj/debug/qhttpnetworkreply.o' failed
- mingw32-make[3]: *** [.obj/debug/qhttpnetworkreply.o] Error 1
- mingw32-make[3]: Leaving directory 'C:/Qt5/src/network'
- Makefile:38: recipe for target 'debug-all' failed
- mingw32-make[2]: *** [debug-all] Error 2
- mingw32-make[2]: Leaving directory 'C:/Qt5/src/network'
- Makefile:208: recipe for target 'sub-network-make_first' failed
- mingw32-make[1]: *** [sub-network-make_first] Error 2
- mingw32-make[1]: Leaving directory 'C:/Qt5/src'
- Makefile:38: recipe for target 'sub-src' failed
- mingw32-make: *** [sub-src] Error 2
- -----------------
- of another output when I try to compile only release
- -----------------
- g++ -c -include .pch\release\qt_pch.h -pipe -fno-keep-inline-dllexport -msse2 -mstackrealign -mfpmath=sse -O2 -std=c++0x -fno-exceptions -frtti -Wall -Wextra -DUNICODE -DQT_NO_USIN
- G_NAMESPACE -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUI
- LDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I"..\..\include" -I"..\..\include\QtNetwork" -I"..\..\incl
- ude\QtNetwork\5.3.1" -I"..\..\include\QtNetwork\5.3.1\QtNetwork" -I"tmp" -I"..\3rdparty\zlib" -I"kernel" -I"..\..\include\QtCore\5.3.1" -I"..\..\include\QtCore\5.3.1\QtCore" -I"..\
- ..\include\QtCore" -I".moc\release" -I"..\..\mkspecs\win32-g++" -o .obj\release\qhttpnetworkreply.o access\qhttpnetworkreply.cpp
- In file included from ..\..\mkspecs\win32-g++/qplatformdefs.h:56:0,
- from access\qhttpnetworkreply_p.h:55,
- from access\qhttpnetworkreply.cpp:42:
- c:\mingw\include\io.h:301:14: error: 'off64_t' does not name a type
- __CRT_INLINE off64_t lseek64 (int, off64_t, int);
- ^
- c:\mingw\include\io.h:302:14: error: 'off64_t' does not name a type
- __CRT_INLINE off64_t lseek64 (int fd, off64_t offset, int whence) {
- ^
- Makefile.Release:8007: recipe for target '.obj/release/qhttpnetworkreply.o' failed
- mingw32-make[3]: *** [.obj/release/qhttpnetworkreply.o] Error 1
- mingw32-make[3]: Leaving directory 'C:/Qt5/src/network'
- Makefile:34: recipe for target 'release' failed
- mingw32-make[2]: *** [release] Error 2
- mingw32-make[2]: Leaving directory 'C:/Qt5/src/network'
- Makefile:208: recipe for target 'sub-network-make_first' failed
- mingw32-make[1]: *** [sub-network-make_first] Error 2
- mingw32-make[1]: Leaving directory 'C:/Qt5/src'
- Makefile:38: recipe for target 'sub-src' failed
- mingw32-make: *** [sub-src] Error 2
Advertisement
Add Comment
Please, Sign In to add comment