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. Error: CMake + JOM + CL + Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Error: CMake + JOM + CL + Qt Creator

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 864 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.
  • F Offline
    F Offline
    fem_dev
    wrote on last edited by
    #1

    I have a CMake project that works good on Mac OSX and Linux (Ubuntu), and now I would like to run it on Qt Creator IDE - Windows 10 x64.

    I installed the Visual Studio Community 2019 (With C++ components) and CMake GUI.

    When I try to open this project in Qt using MSVC compiler, I got this error below:

    Running C:\Qt\Tools\CMake_64\bin\cmake.exe C:/Users/VM/Desktop/rtt-cmake "-GCodeBlocks - NMake Makefiles JOM" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_CXX_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe" "-DCMAKE_C_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe" "-DCMAKE_PREFIX_PATH:STRING=C:/Qt/5.14.1/msvc2017_64" "-DQT_QMAKE_EXECUTABLE:STRING=C:/Qt/5.14.1/msvc2017_64/bin/qmake.exe" in C:\Users\VM\AppData\Local\Temp\QtCreator-oEgRZZ\qtc-cmake-WoTDSXJd.
    -- The CXX compiler identification is MSVC 19.25.28611.0
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe
    CMake Error: Generator: execution of make failed. Make command was: jom /nologo cmTC_a1034\fast && 
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe -- broken
    CMake Error at C:/Qt/Tools/CMake_64/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
      The C++ compiler
    
        "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe"
    
      is not able to compile a simple test program.
    
      It fails with the following output:
    
        Change Dir: C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeTmp
        
        Run Build Command(s):jom /nologo cmTC_a1034\fast && O sistema não pode encontrar o arquivo especificado
        Generator: execution of make failed. Make command was: jom /nologo cmTC_a1034\fast && 
        
    
      
    
      CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
      CMakeLists.txt:3 (project)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeError.log".
    CMake process exited with exit code 1.
    Running C:\Qt\Tools\CMake_64\bin\cmake.exe C:/Users/VM/Desktop/rtt-cmake "-GCodeBlocks - NMake Makefiles JOM" in C:\Users\VM\AppData\Local\Temp\QtCreator-oEgRZZ\qtc-cmake-WoTDSXJd.
    -- The CXX compiler identification is MSVC 19.25.28611.0
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe
    CMake Error: Generator: execution of make failed. Make command was: jom /nologo cmTC_d1434\fast && 
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe -- broken
    CMake Error at C:/Qt/Tools/CMake_64/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
      The C++ compiler
    
        "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe"
    
      is not able to compile a simple test program.
    
      It fails with the following output:
    
        Change Dir: C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeTmp
        
        Run Build Command(s):jom /nologo cmTC_d1434\fast && O sistema não pode encontrar o arquivo especificado
        Generator: execution of make failed. Make command was: jom /nologo cmTC_d1434\fast && 
        
    
      
    
      CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
      CMakeLists.txt:3 (project)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeError.log".
    CMake process exited with exit code 1.
    Running C:\Qt\Tools\CMake_64\bin\cmake.exe C:/Users/VM/Desktop/rtt-cmake "-GCodeBlocks - NMake Makefiles JOM" in C:\Users\VM\AppData\Local\Temp\QtCreator-oEgRZZ\qtc-cmake-WoTDSXJd.
    -- The CXX compiler identification is MSVC 19.25.28611.0
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe
    CMake Error: Generator: execution of make failed. Make command was: jom /nologo cmTC_79ccb\fast && 
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe -- broken
    CMake Error at C:/Qt/Tools/CMake_64/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
      The C++ compiler
    
        "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe"
    
      is not able to compile a simple test program.
    
      It fails with the following output:
    
        Change Dir: C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeTmp
        
        Run Build Command(s):jom /nologo cmTC_79ccb\fast && O sistema não pode encontrar o arquivo especificado
        Generator: execution of make failed. Make command was: jom /nologo cmTC_79ccb\fast && 
        
    
      
    
      CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
      CMakeLists.txt:3 (project)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeError.log".
    CMake process exited with exit code 1.
    

    Could you help me?

    F 1 Reply Last reply
    0
    • F fem_dev

      I have a CMake project that works good on Mac OSX and Linux (Ubuntu), and now I would like to run it on Qt Creator IDE - Windows 10 x64.

      I installed the Visual Studio Community 2019 (With C++ components) and CMake GUI.

      When I try to open this project in Qt using MSVC compiler, I got this error below:

      Running C:\Qt\Tools\CMake_64\bin\cmake.exe C:/Users/VM/Desktop/rtt-cmake "-GCodeBlocks - NMake Makefiles JOM" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_CXX_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe" "-DCMAKE_C_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe" "-DCMAKE_PREFIX_PATH:STRING=C:/Qt/5.14.1/msvc2017_64" "-DQT_QMAKE_EXECUTABLE:STRING=C:/Qt/5.14.1/msvc2017_64/bin/qmake.exe" in C:\Users\VM\AppData\Local\Temp\QtCreator-oEgRZZ\qtc-cmake-WoTDSXJd.
      -- The CXX compiler identification is MSVC 19.25.28611.0
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe
      CMake Error: Generator: execution of make failed. Make command was: jom /nologo cmTC_a1034\fast && 
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe -- broken
      CMake Error at C:/Qt/Tools/CMake_64/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
        The C++ compiler
      
          "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe"
      
        is not able to compile a simple test program.
      
        It fails with the following output:
      
          Change Dir: C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeTmp
          
          Run Build Command(s):jom /nologo cmTC_a1034\fast && O sistema não pode encontrar o arquivo especificado
          Generator: execution of make failed. Make command was: jom /nologo cmTC_a1034\fast && 
          
      
        
      
        CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):
        CMakeLists.txt:3 (project)
      
      
      -- Configuring incomplete, errors occurred!
      See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeOutput.log".
      See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeError.log".
      CMake process exited with exit code 1.
      Running C:\Qt\Tools\CMake_64\bin\cmake.exe C:/Users/VM/Desktop/rtt-cmake "-GCodeBlocks - NMake Makefiles JOM" in C:\Users\VM\AppData\Local\Temp\QtCreator-oEgRZZ\qtc-cmake-WoTDSXJd.
      -- The CXX compiler identification is MSVC 19.25.28611.0
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe
      CMake Error: Generator: execution of make failed. Make command was: jom /nologo cmTC_d1434\fast && 
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe -- broken
      CMake Error at C:/Qt/Tools/CMake_64/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
        The C++ compiler
      
          "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe"
      
        is not able to compile a simple test program.
      
        It fails with the following output:
      
          Change Dir: C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeTmp
          
          Run Build Command(s):jom /nologo cmTC_d1434\fast && O sistema não pode encontrar o arquivo especificado
          Generator: execution of make failed. Make command was: jom /nologo cmTC_d1434\fast && 
          
      
        
      
        CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):
        CMakeLists.txt:3 (project)
      
      
      -- Configuring incomplete, errors occurred!
      See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeOutput.log".
      See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeError.log".
      CMake process exited with exit code 1.
      Running C:\Qt\Tools\CMake_64\bin\cmake.exe C:/Users/VM/Desktop/rtt-cmake "-GCodeBlocks - NMake Makefiles JOM" in C:\Users\VM\AppData\Local\Temp\QtCreator-oEgRZZ\qtc-cmake-WoTDSXJd.
      -- The CXX compiler identification is MSVC 19.25.28611.0
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe
      CMake Error: Generator: execution of make failed. Make command was: jom /nologo cmTC_79ccb\fast && 
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe -- broken
      CMake Error at C:/Qt/Tools/CMake_64/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
        The C++ compiler
      
          "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/HostX86/x64/cl.exe"
      
        is not able to compile a simple test program.
      
        It fails with the following output:
      
          Change Dir: C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeTmp
          
          Run Build Command(s):jom /nologo cmTC_79ccb\fast && O sistema não pode encontrar o arquivo especificado
          Generator: execution of make failed. Make command was: jom /nologo cmTC_79ccb\fast && 
          
      
        
      
        CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):
        CMakeLists.txt:3 (project)
      
      
      -- Configuring incomplete, errors occurred!
      See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeOutput.log".
      See also "C:/Users/VM/AppData/Local/Temp/QtCreator-oEgRZZ/qtc-cmake-WoTDSXJd/CMakeFiles/CMakeError.log".
      CMake process exited with exit code 1.
      

      Could you help me?

      F Offline
      F Offline
      fem_dev
      wrote on last edited by
      #2

      @fem_dev
      I don't know what was happening.

      I just restart my computer and it works.

      1 Reply Last reply
      0

      • Login

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