PDA

View Full Version : MySql Plugin again!



.:saeed:.
14th December 2010, 05:55
hi
Excuse me for my English mistakes!:o
I have built mysql plugin for creator successfully

but when I try to build it for using in visual studio I get the following error:


C:\Qt\4.7.0\src\plugins\sqldrivers\mysql>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.exe" -f Makef
ile.Debug all

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189
-DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -D
QT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtGui" -
I"..\..\..\..\include" -I"c:\MySql\include" -I"." -I"..\..\..\..\include\ActiveQ
t" -I"tmp\moc\debug_shared" -I"c:\Qt\2010.05\qt\mkspecs\win32-msvc2008" -Fotmp\o
bj\debug_shared\ @C:\Users\Saeed\AppData\Local\Temp\nmD366.tmp
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
\cl.EXE"' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
\nmake.exe"' : return code '0x2'
Stop.

Help me pls

ChrisW67
14th December 2010, 06:58
Make sure you are running the build with the environment set correctly: use the Visual Studio command prompt or try running the vcvars32.bat or equivalent file before running configure.

jfabian
31st January 2011, 04:19
If you are using Win XP

use: mingw32-make and not nmake

ChrisW67
31st January 2011, 08:18
use: mingw32-make and not nmake
The OP is using MSVC: the make tool is nmake.

jfabian
31st January 2011, 21:58
can you read this please:

http://www.qtcentre.org/threads/21420-MySQL-driver-Very-strange-problem.-PLEASE-HELP-ME.-Thanks.?highlight=mysql