Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. cl.exe is not recognized as an internal !
QtWS25 Last Chance

cl.exe is not recognized as an internal !

Scheduled Pinned Locked Moved General and Desktop
cl.exeinternalnot recognizedvisual studiomicrosoft visua
6 Posts 3 Posters 4.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    danieldil
    wrote on 14 Oct 2015, 17:22 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mchinand
      wrote on 14 Oct 2015, 19:11 last edited by
      #2

      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?

      D 1 Reply Last reply 15 Oct 2015, 03:38
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 14 Oct 2015, 20:19 last edited by
        #3

        Hi,

        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.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        D 1 Reply Last reply 15 Oct 2015, 03:44
        0
        • M mchinand
          14 Oct 2015, 19:11

          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?

          D Offline
          D Offline
          danieldil
          wrote on 15 Oct 2015, 03:38 last edited by
          #4

          @mchinand vcvarsall.bat and I have the Microsoft Visual c++ compilers

          1 Reply Last reply
          0
          • S SGaist
            14 Oct 2015, 20:19

            Hi,

            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.

            D Offline
            D Offline
            danieldil
            wrote on 15 Oct 2015, 03:44 last edited by
            #5

            @SGaist yes I have visual studio

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 16 Oct 2015, 17:24 last edited by
              #6

              Visual Studio 2013 ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              6/6

              16 Oct 2015, 17:24

              • Login

              • Login or register to search.
              6 out of 6
              • First post
                6/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved