From: Michael G. <mg...@te...> - 2007-02-06 06:53:01
|
> I'm having a big problem with the make file for the qt MYSQL drivers. I'v= e=20 > already used reimp to make the .a file, but the make still isn't working.= =20 > Below is the error it generates. And have you tried to read what the error said ?!? > I'm using the latest tools, MYSQL 5.0, Qt4, =20 > PyQt4, and Windows2k (I'm sorry). >=20 > Thanks for any help you can give, > C:\Qt\4.2.2\src\plugins\sqldrivers\mysql>make > mingw32-make -f Makefile.Release > mingw32-make[1]: Entering directory=20 > `C:/Qt/4.2.2/src/plugins/sqldrivers/mysql' > g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT= =20 > -DQT_N > O_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGI= N=20 > -DQT_ > SQL_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"C:/Qt/4.2.2/include/QtCore"= =20 > -I"C:/Q > t/4.2.2/include/QtCore" -I"C:/Qt/4.2.2/include/QtSql"=20 > -I"C:/Qt/4.2.2/include/QtS > ql" -I"C:/Qt/4.2.2/include" -I"c:\PROGRAM" -I"FILES\MYSQL\MYSQL" -I"SERVE= R"=20 > -I"5 > ..0\INCLUDE" -I"C:/Qt/4.2.2/include/ActiveQt" -I"tmp\moc\release_shared"= =20 > -I"." -I > "..\..\..\..\mkspecs\win32-g++" -o tmp\obj\release_shared\main.o main.cpp > In file included from main.cpp:26: > .../../../sql/drivers/mysql/qsql_mysql.h:34:19: mysql.h: No such file or= =20 > director > y This error tells you that the compiler can't find the file "mysql.h" which is part of the mysql devel package. A few lines above I see '-I"FILES\MYSQL\MYSQL"' That looks somewhat suspect. HTH, Michael =2D-=20 Technosis GmbH, Gesch=E4ftsf=FChrer: Michael Gerdau, Tobias Dittmar Sitz Hamburg; HRB 8945 Amtsgericht Hamburg Vote against SPAM - see http://www.politik-digital.de/spam/ Michael Gerdau email: mg...@te... GPG-keys available on request or at public keyserver |