Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. The process “C:\Qt\Qt5.4.0\Tools\QtCreator\bin\jom.exe” exited with code 2

The process “C:\Qt\Qt5.4.0\Tools\QtCreator\bin\jom.exe” exited with code 2

Scheduled Pinned Locked Moved Installation and Deployment
qt 5.4.0msvc12compile-errors
1 Posts 1 Posters 4.3k 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.
  • R Offline
    R Offline
    Ryklon Zen
    wrote on 10 Mar 2015, 02:15 last edited by
    #1

    Hi,

    Im currently encountering this error when building my project in QT:

    jom: C:\Users\Ryklon Zen\Documents\Qt Projects\build-avaya_code_generator-Desktop_Qt_5_4_0_MSVC2013_64bit-Release\Makefile.Release [release\main.obj] Error 2 Can't start command: C:\Windows\system32\cmd.exe;C:\Qt\Qt5.4.0\5.4\msvc2013_64\bin /C "cl -c -nologo -Zm200 -Zc:wchar_t -FS -O2 -MD -Zc:strictStrings -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -I"C:\Qt\Qt5.4.0\5.4\msvc2013_64\include" -I"C:\Qt\Qt5.4.0\5.4\msvc2013_64\include\QtWidgets" -I"C:\Qt\Qt5.4.0\5.4\msvc2013_64\include\QtGui" -I"C:\Qt\Qt5.4.0\5.4\msvc2013_64\include\QtANGLE" -I"C:\Qt\Qt5.4.0\5.4\msvc2013_64\include\QtCore" -I"release" -I"." -I"." -I"C:\Qt\Qt5.4.0\5.4\msvc2013_64\mkspecs\win32-msvc2013" -Forelease\ @C:\Users\RYKLON~1\AppData\Local\Temp\main.obj.10780.47.jom" jom: C:\Users\Ryklon Zen\Documents\Qt Projects\build-avaya_code_generator-Desktop_Qt_5_4_0_MSVC2013_64bit-Release\Makefile [release] Error 1 21:18:32: The process "C:\Qt\Qt5.4.0\Tools\QtCreator\bin\jom.exe" exited with code 2. Error while building/deploying project avaya_code_generator (kit: Desktop Qt 5.4.0 MSVC2013 64bit) When executing step "Make"

    It seems that it cannot execute the following commands:

    Can't start command: C:\Windows\system32\cmd.exe;C:\Qt\Qt5.4.0\5.4\msvc2013_64\bin /C "cl -c -nologo -Zm200...

    I have a gut feeling that this has something to do with environment variables. I executed vcvarsall.bat when I was building a library for this project. As far as I can remember, the project was working fine before I built the library. I tried to execute vcvarsall.bat again using cmd and it gives me this error:

    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC>vcvarsall.bat ERROR: Cannot determine the location of the VS Common Tools folder.

    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC>

    I checked my environment variables and I have variables for:

    USER VARIABLES
    PATH=C:\Program Files (x86)\CMake\bin

    SYSTEM VARIABLES
    Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\

    VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\

    VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\

    ComSpec=%SystemRoot%\system32\cmd.exe;C:\Qt\Qt5.4.0\5.4\msvc2013_64\bin

    In QT I have the following settings:

    KITS
    Desktop Qt 5.4.0 MSVC2013 64bit (Auto Detected)

    QT VERSIONS
    Qt 5.4.0 MSVC2013 64bit C:\Qt\Qt5.4.0\5.4\msvc2013_64\bin\qmake.exe

    COMPILERS
    Microsoft Visual C++ 11.0 (x86)
    Microsoft Visual C++ 11.0 (x86_amd64)
    Microsoft Visual C++ 11.0 (x86_arm)
    Microsoft Visual C++ 12.0 (x86)
    Microsoft Visual C++ 12.0 (amd64)
    Microsoft Visual C++ 12.0 (x86_amd64)
    Microsoft Visual C++ 12.0 (amd64_arm)
    Microsoft Visual C++ 12.0 (x86_arm)

    My project's .pro file contains:

    QT += core gui

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = avaya_code_generator

    TEMPLATE = app

    SOURCES += main.cpp\

    frmmainwindow.cpp

    HEADERS += frmmainwindow.h

    FORMS += frmmainwindow.ui

    1 Reply Last reply
    0

    1/1

    10 Mar 2015, 02:15

    • Login

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