Answer the question
In order to leave comments, you need to log in
How to fix error when compiling Qt5.3.1 library?
I want to compile the Qt5.3.1 library, but it gives an error:
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 'd:/Qt/Qt5.3.1/5.3/Src/qtbase/src/network'
Makefile:38: recipe for target 'debug-all' failed
mingw32-make[2]: *** [debug-all] Error 2
mingw32-make[2]: Leaving directory 'd:/Qt/Qt5.3.1/5.3/Src/qtbase/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 'd:/Qt/Qt5.3.1/5.3/Src/qtbase/src'
Makefile:41: recipe for target 'sub-src-make_first' failed
mingw32-make: *** [sub-src-make_first] Error 2
SET QTDIR=D:\Qt\Qt5.1.0\5.1.0\Src\qtbase
SET QMAKESPEC=win32-g++
SET PATH=C:\Python27;C:\Perl\bin;D:\Qt\Qt5.1.0\5.1.0\mingw48_3 2\bin;D:\Qt\Qt5.1.0\5.1.0\Src\qtbase\bin;%PATH%
configure.exe -debug-and-release -opensource -c++11 -static -opengl desktop -no-angle -no-vcproj
Answer the question
In order to leave comments, you need to log in
Any ideas?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question