Important: Please read the Qt Code of Conduct -

Configuring MSVC 2012 on windows 64

  • I've downloaded Qt 5.1.1 MSVC 2012 OpenGL 64bit and managed to set up a kit for Desktop, MSVC 2012 compiler, using "Qt 5.1.1 MSVC 2012 OpenGL 64bit" Qt-profile and with no debugger. The compiler is not auto-detected, I've set it up myself:
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.exe - compiler path
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\nmake.exe - make path
    ABI: x86 windows msvc2012 pe 64bit
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include - include path
    Such settings doesn't emit errors (I mean kit doesn't have error red exclamation icon and it can be included into project build settings).
    But when I tried compiling basic C-project like Hello, wolrd, I got such errors:

    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\nmake.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 -I"." -I"..........\Qt\Qt5.1.1\5.1.1\msvc2012_64_opengl\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\Daniel\AppData\Local\Temp\nm5D65.tmp
    ..\test\main.cpp(1) : fatal error C1083: ЌҐ г¤ Ґвбп ®вЄалвм д ©« ўЄ«о祭ЁҐ: iostream: No such file or directory
    NMAKE : fatal error U1077: "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.EXE"
    NMAKE : fatal error U1077: "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\nmake.exe"

    P.S. I'm from Russia so I've omitted some russian words in error output (they were not important)
    P.P.S. I work on Win8x64, use Qt Creator 2.8.1

Log in to reply