PDA

View Full Version : Problems generating Mysql Server 4.1 Plugin



grantbj74
31st August 2009, 08:02
Hi,

I have tried to install the plugin for MYSQL Server 4.1. On windows XP with QT 4.5.

The first part of compiling appeared to work. No message appeared. I used:



..\..\..\..\bin\qmake -o Makefile "INCLUDEPATH+=C:\Program%20Files\MYSQL\MySQL%20\INC LUDE" "LIBS+=C:\Program%20Files\MYSQL\MySQL%20\LIB\OPT\LI BMYSQL.LIB" mysql.pro


But then I tried various MAKE.EXE's (nmake, make,...) and didn't have any luck.

Got the following error with nmake:


NMAKE -f makefile.Debug
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtSql" -I"..\..\..\..\include" -I"c:\PROGRAM%20FILES\MYSQL\MYSQL%20SERVER\%204.1\INC LUDE" -I"..\..\..\..\include\ActiveQt" -I"debug" -I"..\..\..\..\mkspecs\default" -o debug\main.o main.cpp
'g++' is not recognized as an internal or external command,
operable program or batch file.
NMAKE: fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
NMAKE: fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.


I tried to get GMAKE but looks likes its not compiled just code. So didn't get that going.

I read somewhere you can't compile with QT Creator etc running. Tried that.

Any help would be appreciated :confused:
Brendan

grantbj74
1st September 2009, 07:19
I think I just need to find the right MAKE.EXE.

I just tried to make QextSerialPort and it gave the same error.