Vbox 6.0.8 failed with:cannot open include file: 'GLES2/gl2.h'

Discussions related to using the OSE version of VirtualBox.
Post Reply
Weedon
Posts: 4
Joined: 15. Aug 2019, 11:27

Vbox 6.0.8 failed with:cannot open include file: 'GLES2/gl2.h'

Post by Weedon »

Compile environment: Win7 64 bit + vs2010 + qt 5.6.3
While building vbox for vbox-6.0.8, an OpenglES error message shown:

Code: Select all

c:\users\jhoner\desktop\qt-5.6.3\qt-5.6.3\qtbase\include\qtgui\../../src/gui/ope
ngl/qopengl.h(104) : fatal error C1083: Cannot open include file: 'GLES2/gl2.h':
 No such file or directory
kmk: *** [C:/Users/Jhoner/Desktop/vbox/vbox/vbox/kBuild/footer-pass2-compiling-t
argets.kmk:277: C:/Users/Jhoner/Desktop/vbox/vbox/vbox/out/win.amd64/release/obj
/VBoxOGL2D/src/VBoxGLSupportInfo.obj] Error 2 (0x2)
Have no idea where the error come from, I have build Qt5.6.3 by vs2010 successfully.
Anyone can help me ? thanks.
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: various

Re: Vbox 6.0.8 failed with:cannot open include file: 'GLES2/gl2.h'

Post by mhanor »

I personally compile Qt with -no-angle. Probably because it was an easy fix for an error like what you have encountered.
Post Reply