cl.exe is not recognized as an internal !
I am attempting to set up micro soft visual studio compiler and debugger in qt. It seems that i have downloaded the right files and set it up correctly in the kits. Now I am getting this cl.exe error. There are many discussions on this but none of the instructions have worked for my error.
There is nothing wrong with my code, it is just an empty console application that calls main.
10:11:00: Running steps for project untitled4...
10:11:00: Configuration unchanged, skipping qmake step.
10:11:01: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe"
C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release
cl -c -nologo -Zm200 -Zc:wchar_t -FS -O2 -MD -Zc:strictStrings -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_CORE_LIB -DNDEBUG -I"..\untitled4" -I"." -I"........\Qt\5.4\msvc2013\include" -I"........\Qt\5.4\msvc2013\include\QtCore" -I"release" -I"........\Qt\5.4\msvc2013\mkspecs\win32-msvc2013" -Forelease\ @C:\Users\Daniel\AppData\Local\Temp\main.obj.3212.0.jom
'cl' is not recognized as an internal or external command,
operable program or batch file.
jom: C:\Users\Daniel\Documents\build-untitled4-Desktop_Qt_5_4_2_MSVC2013_32bit-Release\Makefile.Release [release\main.obj] Error 1
jom: C:\Users\Daniel\Documents\build-untitled4-Desktop_Qt_5_4_2_MSVC2013_32bit-Release\Makefile [release] Error 2
10:11:01: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project untitled4 (kit: Desktop Qt 5.4.2 MSVC2013 32bit)
When executing step "Make"
This is what happens when i try to build. Has anyone fixed this error?
What do you have listed on the 'Compilers' tab of the 'Build & Run' options? What is the initialization bat file listed for the compiler you are trying to use?
Might be a silly question but: did you instal Visual Studio 2013 ? If not, that won't work, you need to match the package and compiler since none of the edition of Visual Studio is compatible one with the other.
@mchinand vcvarsall.bat and I have the Microsoft Visual c++ compilers
@SGaist yes I have visual studio
Visual Studio 2013 ?