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. Jom error 2 while compiling project in Qt
Forum Updated to NodeBB v4.3 + New Features

Jom error 2 while compiling project in Qt

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 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.
  • A Offline
    A Offline
    azdiana
    wrote on last edited by
    #1

    Hi all,

    I am using Qt 5.1.1 MSVC2010 in Win 7 for a month and it was ok until 2 days ago where all my project files could not run. I have done everything that I could found with the related topic but still no changes.

    what I have done so far:

    1. Install and uninstall Qt 5.1.1 MSVC2010
    2. run q make, clean and rebuild again
    3. setting up the environment in System Properties
    4. setting up environment using vcvarsall.bat

    the compile output as follows.

    @ 19:24:57: Running steps for project MultipleWindow...
    19:24:57: Configuration unchanged, skipping qmake step.
    19:24:57: Starting: "C:\Qt\Qt5.1.1\Tools\QtCreator\bin\jom.exe"
    C:\Qt\Qt5.1.1\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
    cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include" -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include\QtWidgets" -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include\QtGui" -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include\QtANGLE" -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\mazdiana\AppData\Local\Temp\main.obj.11964.16.jom
    jom: C:\Users\mazdiana\Documents\build-MultipleWindow-Desktop_Qt_5_1_1_MSVC2010_32bit-Debug\Makefile.Debug [debug\main.obj] Error 2
    Can't start command: C:\windows\system32\cmd.exe /C "cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include" -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include\QtWidgets" -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include\QtGui" -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include\QtANGLE" -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"........\Qt\Qt5.1.1\5.1.1\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\mazdiana\AppData\Local\Temp\main.obj.11964.16.jom"
    jom: C:\Users\mazdiana\Documents\build-MultipleWindow-Desktop_Qt_5_1_1_MSVC2010_32bit-Debug\Makefile [debug] Error 1
    19:24:57: The process "C:\Qt\Qt5.1.1\Tools\QtCreator\bin\jom.exe" exited with code 2.
    Error while building/deploying project MultipleWindow (kit: Desktop Qt 5.1.1 MSVC2010 32bit)
    When executing step 'Make'
    19:24:57: Elapsed time: 00:00.@

    i have also try to compile in MSVC2010 but also failed. the compile output:
    @1>------ Build started: Project: MultipleWindow, Configuration: Debug Win32 ------
    1>Build started 10/28/2013 7:21:11 PM.
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(298,5): warning MSB8004: Intermediate Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Intermediate Directory.
    1>InitializeBuildStatus:
    1> Touching "Win32\Debug\MultipleWindow.unsuccessfulbuild".
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6003: The specified task executable "cmd.exe" could not be run. The system cannot find the file specified
    1>
    1>Build FAILED.
    1>
    1>Time Elapsed 00:00:00.64
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========@

    Please help.
    Thank you.

    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