Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29279

Compilation Error for VS 2012 Express

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 5.0.2
    • 5.0.1
    • Packaging & Installer
    • None
    • Windows 7 + VS Express 2012 Desktop, Windows 7 + VS 2012 Professional

    Description

      STEPS TO REPRODUCTION:
      1. Make sure you have VS Express 2012 installed.
      2. Install qt-windows-opensource-5.0.1-msvc2012_64-x86_64-offline-2013-01-22-414.exe from http://releases.qt-project.org/digia/5.0.1/backups/2013-01-22-414/
      3. Go to examples.
      4. Select 2D Painting Example (2dpainting).
      5. Run it with CTRL+r.
      6. Check the Compile Output.

      ACTUAL RESULT:
      =====================================================
      12:04:48: Running steps for project 2dpainting...
      12:04:48: Configuration unchanged, skipping qmake step.
      12:04:48: Starting: "C:\Qt\Qt5.0.1\Tools\QtCreator\bin\jom.exe"
      C:\Qt\Qt5.0.1\Tools\QtCreator\bin\jom.exe -f Makefile.Release
      cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtCore" -I"release" -I"." -I"..\..\..\mkspecs\win32-msvc2012" -Forelease\ @C:\Users\ramotyka\AppData\Local\Temp\glwidget.obj.2012.15.jom
      'cl' is not recognized as an internal or external command,
      operable program or batch file.
      jom: C:\Qt\Qt5.0.1\5.0.1\msvc2012_64\examples\opengl\2dpainting-build-Desktop_Qt_5_0_1_MSVC2012_64bit-Release\Makefile.Release [release\glwidget.obj] Error 1
      cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtCore" -I"release" -I"." -I"..\..\..\mkspecs\win32-msvc2012" -Forelease\ @C:\Users\ramotyka\AppData\Local\Temp\helper.obj.2012.46.jom
      'cl' is not recognized as an internal or external command,
      operable program or batch file.
      'cl' is not recognized as an internal or external command,
      operable program or batch file.
      cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtCore" -I"release" -I"." -I"..\..\..\mkspecs\win32-msvc2012" -Forelease\ @C:\Users\ramotyka\AppData\Local\Temp\main.obj.2012.62.jom
      cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\include" -I"..\..\..\include\QtOpenGL" -I"..\..\..\include\QtWidgets" -I"..\..\..\include\QtGui" -I"..\..\..\include\QtCore" -I"release" -I"." -I"..\..\..\mkspecs\win32-msvc2012" -Forelease\ @C:\Users\ramotyka\AppData\Local\Temp\widget.obj.2012.78.jom
      'cl' is not recognized as an internal or external command,
      operable program or batch file.
      jom: C:\Qt\Qt5.0.1\5.0.1\msvc2012_64\examples\opengl\2dpainting-build-Desktop_Qt_5_0_1_MSVC2012_64bit-Release\Makefile.Release [release\helper.obj] Error 1
      =====================================================

      EXPECTED RESULT:
      The project should be built and run.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            iknd Iikka Eklund
            rafal Rafal Motyka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes