Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Can't build qt5 on win8 with -opengl desktop ?

$
0
0
Hi all, Trying to build qt5 from source, but it fails to build QtGui for what looks like an inability to load opengl functions. I have the win 8 sdk, using the win32-msvc2012 spec. Latest nvidia drivers. I don’t think I’m doing anything wrong – is this just still unsupported at this point? I’d really love to get full opengl support working on windows. This is my configure command: configure -nomake demos -nomake examples -c++11 -opengl desktop -saveconfig lastused -nomake webkit -platform win32-msvc2012 And here’s the compiler error:         cl -c -FIqt_gui_pch.h -Yuqt_gui_pch.h -Fp.obj\debug_shared\Qt5Guid_pch.pch -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W3 -w34100 -w34189 -GR -DUNICODE -DWIN32 -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRING BUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_USE_BUNDLED_LIBPNG -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I"..\..\include" -I"..\..\include\QtGui" -I"..\..\include\QtGui\5.0.0" -I"..\..\include\QtGui\5.0.0\QtGui" -I "tmp" -I"image" -I"..\3rdparty\libpng" -I"..\3rdparty\zlib" -I"..\3rdparty\zlib" -I"..\..\include\QtCore" -I"..\..\include\QtCore\5.0.0" -I"..\..\include\QtCore\5.0.0\QtCore" -I".moc\debug_shared" -I"..\..\mkspecs\win32-msvc2012" -Fo.obj\debug_shared\ @C:\Users\Spencer\AppData\Local\Temp\nm94CD.tmp qplatformopenglcontext.cpp qopenglcontext.cpp e:\libs\qt-everywhere-opensource-src-5.0.0\qtbase\include\qtgui\../../src/gui/opengl/qopenglfunctions.h(593) : error C2039: 'glClearDepth' : is not a member of '`global namespace'' (kernel\qplatformopenglcontext.cpp) e:\libs\qt-everywhere-opensource-src-5.0.0\qtbase\include\qtgui\../../src/gui/opengl/qopenglfunctions.h(593) : error C3861: 'glClearDepth': identifier not found (kernel\qplatformopenglcontext.cpp) e:\libs\qt-everywhere-opensource-src-5.0.0\qtbase\include\qtgui\../../src/gui/opengl/qopenglfunctions.h(715) : error C2039: 'glDepthRange' : is not a member of '`global namespace'' (kernel\qplatformopenglcontext.cpp) e:\libs\qt-everywhere-opensource-src-5.0.0\qtbase\include\qtgui\../../src/gui/opengl/qopenglfunctions.h(715) : error C3861: 'glDepthRange': identifier not found (kernel\qplatformopenglcontext.cpp) e:\libs\qt-everywhere-opensource-src-5.0.0\qtbase\src\gui\opengl\qopenglfunctions.h(593) : error C2039: 'glClearDepth' : is not a member of '`global namespace'' (kernel\qopenglcontext.cpp) e:\libs\qt-everywhere-opensource-src-5.0.0\qtbase\src\gui\opengl\qopenglfunctions.h(593) : error C3861: 'glClearDepth': identifier not found (kernel\qopenglcontext.cpp) e:\libs\qt-everywhere-opensource-src-5.0.0\qtbase\src\gui\opengl\qopenglfunctions.h(715) : error C2039: 'glDepthRange' : is not a member of '`global namespace'' (kernel\qopenglcontext.cpp) e:\libs\qt-everywhere-opensource-src-5.0.0\qtbase\src\gui\opengl\qopenglfunctions.h(715) : error C3861: 'glDepthRange': identifier not found (kernel\qopenglcontext.cpp) kernel\qopenglcontext.cpp(189) : error C2065: 'GL_PROXY_TEXTURE_2D' : undeclared identifier kernel\qopenglcontext.cpp(194) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared identifier kernel\qopenglcontext.cpp(194) : error C3861: 'glGetTexLevelParameteriv': identifier not found kernel\qopenglcontext.cpp(205) : error C2065: 'GL_TEXTURE_WIDTH' : undeclared identifier kernel\qopenglcontext.cpp(205) : error C3861: 'glGetTexLevelParameteriv': identifier not found NMAKE : fatal error U1077: 'E:\apps\vs2012\VC\BIN\cl.EXE' : return code '0x2' Stop

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>