Reputation: 177
I did some changes like copying .dll (libmysql.dll) in project directories, and included include and libs path in mysql.pro. So now when I debug any program I get some error as follows:
'cl' is not recognized as an internal or external command, operable program or batch file. jom: D:\qt_projects\build-zerocopy-Desktop_Qt_5_0_2_MSVC2010_32bit-Debug\Makefile.Debug [debug\main.obj] Error 1
'cl' is not recognized as an internal or external command, operable program or batch file. jom: D:\qt_projects\build-zerocopy-Desktop_Qt_5_0_2_MSVC2010_32bit-Debug\Makefile.Debug [debug\client.obj] Error 1 jom: D:\qt_projects\build-zerocopy-Desktop_Qt_5_0_2_MSVC2010_32bit-Debug\Makefile [debug] Error 2 10:48:01: The process "D:\QT\Tools\QtCreator\bin\jom.exe" exited with code 2. Error while building/deploying project zerocopy (kit: Desktop Qt 5.0.2 MSVC2010 32bit) When executing step 'Make' 10:48:01: Elapsed time: 00:01.
Is this error because of those changes? I am running a totally different program i.e I haven't included any sql header or anything. Please help me out.
Upvotes: 0
Views: 2751
Reputation: 12600
Check my Tool Chains:
The important thing is the call of "C:\Program Files...vcvars32.bat" which is called as initialization. This batch file extends the PATH
variables and does some other things so the calls of cl.exe
and link.exe
etc work. Maybe you can manually configure something like that as well. In my case, Qt Creator just auto-detected it and it has always been there.
Note that these settings are for Windows XP 32bit with Visual Studio 2008
Upvotes: 0