Strange compiling (jom) error
-
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.
-
Hi,
did you change QtCreator ?
-
Yes! To the newest version... Do I need to install the old version again?
-
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.
-
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? -
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 ?