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. Strange compiling (jom) error
Forum Updated to NodeBB v4.3 + New Features

Strange compiling (jom) error

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 2.3k Views 1 Watching
  • 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.
  • 0 Offline
    0 Offline
    0xFEEDC0DE64
    wrote on last edited by 0xFEEDC0DE64
    #1

    Hi,

    I have a huge project structure (> 100 subdirs).

    I am not sure what changed since yesterday, but I now get in every project a jom error 2.

    After compiling the same project again, qt creator says finished (but no executable was created).

    Now I tried created new project (console application, did not change anything but the name). Here there the same problem happens.

    Does someone have an idea what I could check?

    error 2 does not tell me anything and there is no more usable output.

    I am using Visual Studio 2008 compiler and Qt 4.8.7.

    16:57:23: Führe Schritte für Projekt test aus...
    16:57:23: Starte "C:\QT\qtcreator-4.0.0-beta1\bin\jom.exe" clean
    	C:\QT\qtcreator-4.0.0-beta1\bin\jom.exe -f Makefile.Debug clean
    	del debug\main.obj
    	del debug\test.intermediate.manifest debug\test.exp debug\test.ilk vc*.pdb vc*.idb
    	C:\QT\qtcreator-4.0.0-beta1\bin\jom.exe -f Makefile.Release clean
    C:\Users\Daniel\Documents\qt-projects\build-test-old_qt-Debug\release\main.obj konnte nicht gefunden werden
    	del release\main.obj
    	del release\test.intermediate.manifest release\test.exp
    C:\Users\Daniel\Documents\qt-projects\build-test-old_qt-Debug\release\test.intermediate.manifest konnte nicht gefunden werden
    	del ".\test.intermediate.manifest"
    C:\Users\Daniel\Documents\qt-projects\build-test-old_qt-Debug\test.intermediate.manifest konnte nicht gefunden werden
    	del test.exp
    C:\Users\Daniel\Documents\qt-projects\build-test-old_qt-Debug\test.exp konnte nicht gefunden werden
    	del test.ilk
    C:\Users\Daniel\Documents\qt-projects\build-test-old_qt-Debug\test.ilk konnte nicht gefunden werden
    	del vc*.pdb
    C:\Users\Daniel\Documents\qt-projects\build-test-old_qt-Debug\vc*.pdb konnte nicht gefunden werden
    	del vc*.idb
    C:\Users\Daniel\Documents\qt-projects\build-test-old_qt-Debug\vc*.idb konnte nicht gefunden werden
    16:57:23: Der Prozess "C:\QT\qtcreator-4.0.0-beta1\bin\jom.exe" wurde normal beendet.
    16:57:23: Unveränderte Konfiguration, qmake-Schritt wird übersprungen.
    16:57:23: Starte "C:\QT\qtcreator-4.0.0-beta1\bin\jom.exe" 
    	C:\QT\qtcreator-4.0.0-beta1\bin\jom.exe -f Makefile.Debug
    	cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_DLL -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"c:\Qt\4.8.7\include\QtCore" -I"c:\Qt\4.8.7\include" -I"c:\Qt\4.8.7\include\ActiveQt" -I"debug" -I"..\test" -I"." -I"c:\Qt\4.8.7\mkspecs\win32-msvc2008" -Fodebug\ @C:\Users\Daniel\AppData\Local\Temp\main.obj.5608.0.jom
    main.cpp
    	link /LIBPATH:"c:\Qt\4.8.7\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST /MANIFESTFILE:"debug\test.intermediate.manifest" /OUT:debug\test.exe @C:\Users\Daniel\AppData\Local\Temp\test.exe.5608.672.jom
    	mt.exe -nologo -manifest "debug\test.intermediate.manifest" -outputresource:debug\test.exe;1
    jom: C:\Users\Daniel\Documents\qt-projects\build-test-old_qt-Debug\Makefile.Debug [debug\test.exe] Error 2
    jom: C:\Users\Daniel\Documents\qt-projects\build-test-old_qt-Debug\Makefile [debug] Error 2
    16:57:25: Der Prozess "C:\QT\qtcreator-4.0.0-beta1\bin\jom.exe" wurde mit dem Rückgabewert 2 beendet.
    Fehler beim Erstellen/Deployment des Projekts test (Kit: old_qt)
    Bei der Ausführung von Schritt "Make"
    16:57:25: Verstrichene Zeit: 00:02.
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      did you change QtCreator ?

      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
      • 0 Offline
        0 Offline
        0xFEEDC0DE64
        wrote on last edited by
        #3

        Yes! To the newest version... Do I need to install the old version again?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          That's one thing I would try, yes. So you can check whether it's a Qt Creator/Jom problem or maybe something else.

          Another thing I would try is to completely re-configure the project. i.e. move the .pro.user file out of your project folder, nuke the shadow builds and restart from scratch.

          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
          • 0 Offline
            0 Offline
            0xFEEDC0DE64
            wrote on last edited by
            #5

            I went back from creator 4.0.0 to 3.6.1.
            BTW I have all qt tools and libs only in portable mode. Means I have folders for different qt versions. qt creator is also only portable (I selected the right qmake.exe files in settings dialog).
            I removed the AppData/QtProject folder (settings for qt creator) and did all qt lib settings again.

            I created a new test-project called test2 (so there are no conflicts with the first test project). Same thing happens again!

            But I was able to compile using MinGW and qt 5.6. But the problem is that my huge project structure cannot be build using another compiler or qt version (depends on many other non-qt libs).

            I created a virtual machine (windows 8) and installed visual studio 2008 and qt 4.8.7 and there it works. But compiling in a VM is not an option (huge project is too slow).
            Do I need to do a fresh install of windows on my computer?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Do you have something that's polluting the PATH environment variable ?

              What if you use nmake in place of jom ? Do you have the same problem ?

              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

              • Login

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