Building Qt5.4 with Vs 2012



  • enerating Code...
    lib /NOLOGO /OUT:..........\lib\preprocessor.lib @C:\Users\KQNG43\AppData\Local\Temp\nmF1FA.tmp
    ( if not exist Makefile.translator C:\QT\qt5-build\qtbase\bin\qmake C:\QT\Qt5-src\qtbase\src\angle\src\compiler\translator.pro -o Makefile.translator ) && "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f Makefile.translator
    "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f Makefile.translator.Debug all
    (set PATH=C:/QT/Qt5-src/gnuwin32/bin;%PATH:)=^)%) & bison --no-lines --skeleton=yacc.c --defines=glslang_tab.h --output=glslang_tab.cpp C:\QT\Qt5-src\qtbase\src\3rdparty\angle\src\compiler\translator\glslang.y
    (set PATH=C:/QT/Qt5-src/gnuwin32/bin;%PATH:)=^)%) & win_flex --noline --nounistd --outfile=glslang_lex.cpp C:\QT\Qt5-src\qtbase\src\3rdparty\angle\src\compiler\translator\glslang.l
    cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -Oy- -Gy -GS -Gm- -RTC1 -EHsc -MP -GR -W4 -wd4100 -wd4127 -wd4189 -wd4239 -wd4244 -wd4245 -wd4267 -wd4275 -wd4512 -wd4702 /Fd........\lib\translatord.pdb -DUNICODE -DWIN32 -D_WINDOWS -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DWIN32_LEAN_AND_MEAN=1 -DANGLE_ENABLE_D3D9 -DANGLE_SKIP_DXGI_1_2_CHECK -DANGLE_ENABLE_D3D11 -DANGLE_DEFAULT_D3D11=1 -D_DEBUG -D_SECURE_SCL=0 -D_LIB -DCOMPILER_IMPLEMENTATION -I"C:\QT\Qt5-src\qtbase\src\angle\src\compiler" -I"." -I"C:\MotorolaRhoMobileSuite5.0.25\ruby\lib\ruby\gems\1.9.1\gems\rhodes-5.0.25\lib\extensions\openssl.so\ext\win32\include" -I"C:\QT\Qt5-src\qtbase\src\angle\src\compiler" -I"C:\QT\Qt5-src\qtbase\src\angle\src" -I"C:\QT\Qt5-src\qtbase\src\angle\src..\include" -I"C:\QT\Qt5-src\qtbase\src\3rdparty\angle\src" -I"C:\QT\Qt5-src\qtbase\src\3rdparty\angle\include" -I"C:\QT\Qt5-src\qtbase\mkspecs\win32-msvc2012" -Fo.obj\debug\ @C:\Users\KQNG43\AppData\Local\Temp\nmF7C4.tmp
    tls.cpp
    C:\Program Files (x86)\Windows Kits\8.0\include\shared\dxgi1_2.h(1270) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    C:\Program Files (x86)\Windows Kits\8.0\include\shared\dxgi1_2.h(1270) : error C2143: syntax error : missing ',' before '*'
    C:\Program Files (x86)\Windows Kits\8.0\include\shared\dxgi1_2.h(1274) : error C2061: syntax error : identifier 'DXGI_RGBA'

    I am getting the above error when compiling with visual studio 2012

    Congifure like the following :
    call ..\Qt5-src\configure.bat -opensource -confirm-license ^
    -prefix C:/Qt/Qt5-ssl-2012 -debug-and-release -platform win32-msvc2012 -mp ^
    -icu -shared -c++11 -make libs -nomake tests -nomake examples -angle ^
    -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -openssl-linked

    My system also having DirectX 10.

    Let me know how to resolve this.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.