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

jom.exe is missing



  • I am trying to compile a github free project with QT. I have installed Qt5.12 and Qt Creator 4.13, Visual Studio 2017, on Win10 64 bit.

    And I got an error:

    :-1: error: Generator: execution of make failed. Make command was: jom /nologo cmTC_51f61\fast && CMake Error: Generator: execution of make failed. Make command was: jom /nologo cmTC_3ba39\fast && CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake:66 (message):  The C compiler    "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/HostX64/x64/cl.exe"  is not able to compile a simple test program.  It fails with the following output:    Change Dir: C:/Users/Flaviu/AppData/Local/Temp/QtCreator-nkSeRT/qtc-cmake-UgoYnEaw/CMakeFiles/CMakeTmp        Run Build Command(s):jom /nologo cmTC_3ba39\fast && The system cannot find the file specified    Generator: execution of make failed. Make command was: jom /nologo cmTC_3ba39\fast &&         CMake will not be able to correctly generate this project.Call Stack (most recent call first):  CMakeLists.txt:5 (project)
    

    So, I have searched on internet and I found here: https://stackoverflow.com/questions/46416069/unable-to-build-project-with-jom

    that I should have jom.exe on \Qt5.12.1\Tools\QtCreator\bin to put it on PATH environment. But I have no jom.exe here and anywhere else on C:/ drive. What should install more in order to have it ? Can you help me a little bit ?

    Or, I identify it correctly my compiling error ?



  • Latest Qt creator should also ship jom with it.
    Do you have ibjom.bat and xgejom.bat in QtCreator/bin? If you have, then jom.exe must be mistakenly deleted / moved / renamed.
    Reinstall may help.
    But you can also download jom from http://download.qt.io/official_releases/jom/


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Before anything, please install a more recent version of Qt. 5.12.1 is really outdated.

    Which installer are you using ?



  • I have taken from here: https://www.qt.io/offline-installers

    Qt 5.12.10 for Windows (3.7 GB)

    As far as is available, I guess is ok ... the question is, if I would install the latest one, I would have that jom.exe ?


  • Lifetime Qt Champion

    One thing is that jom comes shipped with Qt Creator, not Qt itself. So either it's missing from the latest version and it's likely a bug or something went wrong when Qt Creator was installed.



  • Latest Qt creator should also ship jom with it.
    Do you have ibjom.bat and xgejom.bat in QtCreator/bin? If you have, then jom.exe must be mistakenly deleted / moved / renamed.
    Reinstall may help.
    But you can also download jom from http://download.qt.io/official_releases/jom/



  • Yes, I have downloaded manually from that location and I have put it as need it, now seems to be ok. Thank you for your support !


  • Lifetime Qt Champion

    Hi @Flaviu-0, glad you solved it, so please mark this topic as SOLVED too. Thanks!


Log in to reply