Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

The process "C:\Qt\Qt5.9.4\Tools\QtCreator\bin\jom.exe" exited with code 2.



  • Can someone help me with my problem I downgrade my 5.10.0 to 5.9.4 for stability my source code is working fine with 5.10.0 while in the release but when I used this 5.9.4 it keeps that error same, I set up all the kits and compilers and all of the prerequisite is fine but while running full error is this.

    jom: C:\Users\j\Documents\tactiles-iqube-software\build-iqube-Desktop_Qt_5_9_4_MSVC2015_32bit-Release\Makefile.Release [release\Tactiles IQube.exe] Error 1120
    jom: C:\Users\j\Documents\tactiles-iqube-software\build-iqube-Desktop_Qt_5_9_4_MSVC2015_32bit-Release\Makefile [release] Error 2
    09:47:33: The process "C:\Qt\Qt5.9.4\Tools\QtCreator\bin\jom.exe" exited with code 2.
    Error while building/deploying project iqube (kit: Desktop Qt 5.9.4 MSVC2015 32bit)
    When executing step "Make"
    09:47:33: Elapsed time: 00:01.

    i hope someone can help me now. i need to solve it. Thank you!


  • Lifetime Qt Champion

    hi @Jecka31,

    the real error is probably some lines above the jom errors.

    regards



  • @aha_1980 What do you mean about line of it? i don't know why it's happening is their need to be change?


  • Lifetime Qt Champion

    @Jecka31

    please show us the full build log first.



  • @aha_1980

    Here's the Full

    17:03:31: Running steps for project iqube...
    17:03:31: Configuration unchanged, skipping qmake step.
    17:03:31: Starting: "C:\Qt\Qt5.9.4\Tools\QtCreator\bin\jom.exe"
    C:\Qt\Qt5.9.4\Tools\QtCreator\bin\jom.exe -f Makefile.Release
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\MainWindow.ui -o ui_MainWindow.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\Menu.ui -o ui_Menu.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\Home.ui -o ui_Home.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\NavigationBar.ui -o ui_NavigationBar.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\CreateProject.ui -o ui_CreateProject.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\ProjectWorkspace.ui -o ui_ProjectWorkspace.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\ChooseProject.ui -o ui_ChooseProject.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\ProjectWorkspaceButton.ui -o ui_ProjectWorkspaceButton.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\ProjectWorkspaceMessage.ui -o ui_ProjectWorkspaceMessage.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\ProjectWorkspaceToast.ui -o ui_ProjectWorkspaceToast.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\CreateAnything.ui -o ui_CreateAnything.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\Settings.ui -o ui_Settings.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\UpdateForm.ui -o ui_UpdateForm.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\CubeUpdateForm.ui -o ui_CubeUpdateForm.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\ChooseProjectForm.ui -o ui_ChooseProjectForm.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\HowToUse.ui -o ui_HowToUse.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\TheCubes.ui -o ui_TheCubes.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\Tester.ui -o ui_Tester.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\HID.ui -o ui_HID.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\DFU.ui -o ui_DFU.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\page\DFUCubeDetailsForm.ui -o ui_DFUCubeDetailsForm.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\iqube\CubeView.ui -o ui_CubeView.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\iqube\WorkspaceView.ui -o ui_WorkspaceView.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\iqube\CubeSettingsView.ui -o ui_CubeSettingsView.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\iqube\CubeSettingsSliderView.ui -o ui_CubeSettingsSliderView.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\iqube\CubeSettingsSwitchView.ui -o ui_CubeSettingsSwitchView.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\uic.exe ..\qt\iqube\SimulatorDeviceView.ui -o ui_SimulatorDeviceView.h
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\rcc.exe -name resource-ui ..\qt\resource-ui.qrc -pass 1 -o release/qrc_resource-ui.cpp
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\rcc.exe -name resources ..\qt\resources.qrc -pass 1 -o release/qrc_resources.cpp
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\rcc.exe -name resource-data ..\qt\resource-data.qrc -pass 1 -o release/qrc_resource-data.cpp
    cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -std=c++11 -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_BLUETOOTH_LIB -DQT_CORE_LIB -DNDEBUG -I..\qt -I. -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\include\QtZlib -I..\qt\openal -I....\tactiles-iqube-software -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\include -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\include\QtWidgets -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\include\QtMultimedia -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\include\QtGui -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\include\QtANGLE -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\include\QtNetwork -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\include\QtBluetooth -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\include\QtCore -Irelease -I. -IC:\Qt\Qt5.9.4\5.9.4\msvc2015\mkspecs\win32-msvc -Forelease\ @C:\Users\Jesseca\AppData\Local\Temp\main.obj.8240.1125.jom
    main.cpp
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\include\cstddef(7): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
    cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
    cl -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -std=c++11 -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_BLUETOOTH_LIB -DQT_CORE_LIB -DNDEBUG -c release/qrc_resources.cpp -Forelease/qrc_resources.tmp.obj
    qrc_resources.cpp
    cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
    cl -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -std=c++11 -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_BLUETOOTH_LIB -DQT_CORE_LIB -DNDEBUG -c release/qrc_resource-data.cpp -Forelease/qrc_resource-data.tmp.obj
    qrc_resource-data.cpp
    cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\rcc.exe -name resources ..\qt\resources.qrc -pass 2 -temp release/qrc_resources.tmp.obj -o release\qrc_resources.obj
    cl -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -std=c++11 -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_BLUETOOTH_LIB -DQT_CORE_LIB -DNDEBUG -c release/qrc_resource-ui.cpp -Forelease/qrc_resource-ui.tmp.obj
    C:\Qt\Qt5.9.4\5.9.4\msvc2015\bin\rcc.exe -name resource-data ..\qt\resource-data.qrc -pass 2 -temp release/qrc_resource-data.tmp.obj -o release\qrc_resource-data.obj
    jom: C:\Users\Jesseca\Documents\software\build-iqube-Desktop_Qt_5_9_4_MSVC2015_32bit-Release\Makefile.Release [release\main.obj] Error 2
    jom: C:\Users\Jesseca\Documents\software\build-iqube-Desktop_Qt_5_9_4_MSVC2015_32bit-Release\Makefile [release] Error 2
    17:03:41: The process "C:\Qt\Qt5.9.4\Tools\QtCreator\bin\jom.exe" exited with code 2.
    Error while building/deploying project iqube (kit: Desktop Qt 5.9.4 MSVC2015 32bit)
    The kit Desktop Qt 5.9.4 MSVC2015 32bit has configuration issues which might be the root cause for this problem.
    When executing step "Make"
    17:03:41: Elapsed time: 00:09.


  • Lifetime Qt Champion

    @Jecka31

    you have several warnings and one error in your build.

    are you sure your kit is correctly set up?

    can you please show the kit screen in Tools > Options > Build&Run?

    regards


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Can you show your .pro file ?



  • @SGaist i have a new problem and the compile output is this. i just reinstall everything so i can have a fresh start but when i'm doing this sample this happen

    10:42:58: Running steps for project QtPracticethree...
    10:42:58: Starting: "C:\Qt\Qt5.9.4\5.9.4\msvc2015_64\bin\qmake.exe" C:\Users\Jesseca\Documents\QTPractice\QtPracticethree\QtPracticethree.pro -spec win32-msvc
    Project ERROR: Cannot run compiler 'cl'. Output:

    ===================
    Maybe you forgot to setup the environment?
    10:42:59: The process "C:\Qt\Qt5.9.4\5.9.4\msvc2015_64\bin\qmake.exe" exited with code 3.
    Error while building/deploying project QtPracticethree (kit: Desktop Qt 5.9.4 MSVC2015 64bit)
    The kit Desktop Qt 5.9.4 MSVC2015 64bit has configuration issues which might be the root cause for this problem.
    When executing step "qmake"
    10:42:59: Elapsed time: 00:02.



  • @aha_1980 i have a new problem and the compile output is this. i just reinstall everything so i can have a fresh start but when i'm doing this sample this happen

    10:42:58: Running steps for project QtPracticethree...
    10:42:58: Starting: "C:\Qt\Qt5.9.4\5.9.4\msvc2015_64\bin\qmake.exe" C:\Users\Jesseca\Documents\QTPractice\QtPracticethree\QtPracticethree.pro -spec win32-msvc
    Project ERROR: Cannot run compiler 'cl'. Output:

    Maybe you forgot to setup the environment?
    10:42:59: The process "C:\Qt\Qt5.9.4\5.9.4\msvc2015_64\bin\qmake.exe" exited with code 3.
    Error while building/deploying project QtPracticethree (kit: Desktop Qt 5.9.4 MSVC2015 64bit)
    The kit Desktop Qt 5.9.4 MSVC2015 64bit has configuration issues which might be the root cause for this problem.
    When executing step "qmake"
    10:42:59: Elapsed time: 00:02.


  • Lifetime Qt Champion

    @Jecka31

    please search in the forum, this problem has happened for some other users also.

    Regards


Log in to reply