Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error happens on MacOS #12

Open
ZuyingWo opened this issue May 21, 2019 · 1 comment
Open

Compile error happens on MacOS #12

ZuyingWo opened this issue May 21, 2019 · 1 comment

Comments

@ZuyingWo
Copy link

fatal error: 'KHR/khrplatform.h' file not found

build$ make
Scanning dependencies of target glxw
[ 1%] Building C object glxw/CMakeFiles/glxw.dir/src/glxw.c.o
In file included from /Users/anonymous/git/OpenGL/OpenGL-Examples/build/glxw/src/glxw.c:1:
In file included from /Users/anonymous/git/OpenGL/OpenGL-Examples/build/glxw/include/GLXW/glxw.h:7:
/Users/anonymous/git/OpenGL/OpenGL-Examples/build/glxw/include/GL/glcorearb.h:82:10: fatal error: 'KHR/khrplatform.h' file not found
#include <KHR/khrplatform.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [glxw/CMakeFiles/glxw.dir/src/glxw.c.o] Error 1
make[1]: *** [glxw/CMakeFiles/glxw.dir/all] Error 2
make: *** [all] Error 2

@ZuyingWo
Copy link
Author

ZuyingWo commented May 21, 2019

Just for reference.

python2.7 ../glxw/glxw_gen.py --api khr --output ./glxw/
python2.7 ../glxw/glxw_gen.py --api egl --output ./glxw/

====
If you want to build it on the latest repo, check here.
https://github.com/ZuyingWo/OpenGL-Examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant