need help about bulid vBOX5.1.26 on Windows x64

Discussions related to using the OSE version of VirtualBox.

need help about bulid vBOX5.1.26 on Windows x64

Postby qishaosky » 8. Sep 2017, 09:22

hi all,
i am building vbox on windows.you know that we should build qt 5.6.0 first using VS2010SP1,
Now, the qt is built ok, using this config :
configure -prefix e:/qt5.6/msvc2010_x64 -platform win32-msvc2010 -opensource -confirm-license -shared -nomake tests -nomake examples -debug-and-release -qt-zlib -qt-libpng -qt-libjpeg.

I use the default Graphics Drivers:ANGLE.

but when i build VBOX, error occurred, show as below:

UIThreadPool.cpp
kBuild: Compiling VirtualBox - C:/VirtualBox-5.1.26/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
VBoxGlobal.cpp
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1488) : error C2065: 'GL_ALL_ATTRIB_BITS' : undeclared identif
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1488) : error C3861: 'glPushAttrib': identifier not found
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1489) : error C2065: 'GL_PROJECTION' : undeclared identifier
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1489) : error C3861: 'glMatrixMode': identifier not found
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1490) : error C3861: 'glPushMatrix': identifier not found
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1497) : error C3861: 'glPopAttrib': identifier not found
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1498) : error C2065: 'GL_PROJECTION' : undeclared identifier
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1498) : error C3861: 'glMatrixMode': identifier not found
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1499) : error C3861: 'glPopMatrix': identifier not found
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1500) : error C2065: 'GL_MODELVIEW' : undeclared identifier
C:\VirtualBox-5.1.26\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1500) : error C3861: 'glMatrixMode': identifier not found
kmk: *** [C:/VirtualBox-5.1.26/out/win.amd64/release/obj/VirtualBox/src/globals/VBoxGlobal.obj] Error 2

this file VBoxFBOverlay.h use headfiles VBoxGL2D.h. it doesn't have the above identifier:"glMatrixMode,glPushMatrix",and so on.

so should i build the QT5.6.0 use -opengl desktop or -opengl es2 -no-angle to rebuild or config something?

ple help me.
qishaosky
 
Posts: 6
Joined: 1. Sep 2017, 10:27

Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 1 guest