You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile the samples on my Mac (OS X El Capitan version 10.11.6). By following the documentation, the cmake .. step worked fine but during compilation, I got the following error:
[ 91%] Generating include/KHR/khrplatform.h
Downloading KHR/khrplatform.h from http://www.khronos.org/registry/egl/api/KHR/khrplatform.h to /Users/gbittoun/Documents/OpenGL-Examples/build/glxw/include/KHR/khrplatform.h
[ 92%] Generating include/GLES2/gl2.h, include/GLES2/gl2ext.h, include/GLES2/gl2platform.h
Downloading GLES2/gl2.h from http://www.khronos.org/registry/gles/api/GLES2/gl2.h to /Users/gbittoun/Documents/OpenGL-Examples/build/glxw/include/GLES2/gl2.h
Downloading GLES2/gl2platform.h from http://www.khronos.org/registry/gles/api/GLES2/gl2platform.h to /Users/gbittoun/Documents/OpenGL-Examples/build/glxw/include/GLES2/gl2platform.h
Downloading GLES2/gl2ext.h from http://www.khronos.org/registry/gles/api/GLES2/gl2ext.h to /Users/gbittoun/Documents/OpenGL-Examples/build/glxw/include/GLES2/gl2ext.h
[ 92%] Generating src/glxw_es2.c, include/GLXW/glxw_es2.h
Parsing header gl2ext.h
Generating header /Users/gbittoun/Documents/OpenGL-Examples/build/glxw/include/GLXW/glxw_es2.h
Generating library source /Users/gbittoun/Documents/OpenGL-Examples/build/glxw/src/glxw_es2.c
Scanning dependencies of target glxw_es2
[ 93%] Building C object glxw/CMakeFiles/glxw_es2.dir/src/glxw_es2.c.o
/Users/gbittoun/Documents/OpenGL-Examples/build/glxw/src/glxw_es2.c:3:10: fatal error: 'EGL/egl.h' file not found
#include <EGL/egl.h>
^
1 error generated.
make[2]: *** [glxw/CMakeFiles/glxw_es2.dir/src/glxw_es2.c.o] Error 1
make[1]: *** [glxw/CMakeFiles/glxw_es2.dir/all] Error 2
make: *** [all] Error 2
I looked for this egl.h file on my computer and it seems that it indeed doesn’t exist or at least, not in a directory named EGL. I could find it in the directory /opt/X11/include/GLES. I tried to copy it in the include dir of glxw… without success.
Is there a way to compile these examples on mac ? I don’t renounce to make them work, I’ll open a pull request if I find a correct way to fix this.
The text was updated successfully, but these errors were encountered:
I tried to compile the samples on my Mac (OS X El Capitan version 10.11.6). By following the documentation, the
cmake ..
step worked fine but during compilation, I got the following error:I looked for this
egl.h
file on my computer and it seems that it indeed doesn’t exist or at least, not in a directory namedEGL
. I could find it in the directory/opt/X11/include/GLES
. I tried to copy it in the include dir of glxw… without success.Is there a way to compile these examples on mac ? I don’t renounce to make them work, I’ll open a pull request if I find a correct way to fix this.
The text was updated successfully, but these errors were encountered: