MinGW und MySql
Verfasst: 27. März 2006 23:42
Hallo,
ich wollte QT configurieren: configure -qt-sql-mysql -I C:\mysql\include -L C:\mysql\lib\opt -l mysqlclient -qt-sql-sqlite -release
und erhalte fogende Fehlermeldung:
g++: global\qt_pch.h: linker input file unused because linking not done
g++ -c -include tmp\obj\release_shared\qt_pch.h -O2 -O2 -Wall -frtti -fexception
s -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_EDITION=
QT_EDITION_DESKTOP -DQT_BUILD_CORE_LIB -DQT_MAKEDLL -DQT3_SUPPORT -DQT_MOC_COMPA
T -DQT_DLL -DQT_NO_DEBUG -I"C:/QT/include" -I"C:/mysql/include" -I"C:/QT/include
/QtCore" -I"tmp" -I"C:/QT/src/corelib/global" -I"..\3rdparty\zlib" -I"C:/QT/incl
ude/ActiveQt" -I"tmp\moc\release_shared" -I"." -I"C:/QT/mkspecs/win32-g++" -o tm
p\obj\release_shared\qglobal.o global\qglobal.cpp
global/qglobal.cpp: tmp\obj\release_shared\qt_pch.h: No such file or directory
mingw32-make[3]: *** [tmp\obj\release_shared\qglobal.o] Error 1
mingw32-make[3]: Leaving directory `C:/QT/src/corelib'
mingw32-make[2]: *** [release] Error 2
mingw32-make[2]: Leaving directory `C:/QT/src/corelib'
mingw32-make[1]: *** [sub-corelib-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `C:/QT/src'
mingw32-make: *** [sub-src-make_default-ordered] Error 2
Wie kann ich den Fehler beheben?
Gruß
Marco812
ich wollte QT configurieren: configure -qt-sql-mysql -I C:\mysql\include -L C:\mysql\lib\opt -l mysqlclient -qt-sql-sqlite -release
und erhalte fogende Fehlermeldung:
g++: global\qt_pch.h: linker input file unused because linking not done
g++ -c -include tmp\obj\release_shared\qt_pch.h -O2 -O2 -Wall -frtti -fexception
s -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_EDITION=
QT_EDITION_DESKTOP -DQT_BUILD_CORE_LIB -DQT_MAKEDLL -DQT3_SUPPORT -DQT_MOC_COMPA
T -DQT_DLL -DQT_NO_DEBUG -I"C:/QT/include" -I"C:/mysql/include" -I"C:/QT/include
/QtCore" -I"tmp" -I"C:/QT/src/corelib/global" -I"..\3rdparty\zlib" -I"C:/QT/incl
ude/ActiveQt" -I"tmp\moc\release_shared" -I"." -I"C:/QT/mkspecs/win32-g++" -o tm
p\obj\release_shared\qglobal.o global\qglobal.cpp
global/qglobal.cpp: tmp\obj\release_shared\qt_pch.h: No such file or directory
mingw32-make[3]: *** [tmp\obj\release_shared\qglobal.o] Error 1
mingw32-make[3]: Leaving directory `C:/QT/src/corelib'
mingw32-make[2]: *** [release] Error 2
mingw32-make[2]: Leaving directory `C:/QT/src/corelib'
mingw32-make[1]: *** [sub-corelib-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `C:/QT/src'
mingw32-make: *** [sub-src-make_default-ordered] Error 2
Wie kann ich den Fehler beheben?
Gruß
Marco812