how to

no-gl-h

Sep 15, 2023
GitHubreal-stanfordcloth-funnels
1 Minutes
85 Words

Fault

1
In file included from /home/xuehan/Documents/GitHub/real-stanford/cloth-funnels/cloth_funnels/PyFlex/bindings/opengl/shader.cpp:28:
2
/home/xuehan/Documents/GitHub/real-stanford/cloth-funnels/cloth_funnels/PyFlex/bindings/opengl/shader.h:50:10: fatal error: GL/gl.h: No such file or directory
3
50 | #include <GL/gl.h>
4
| ^~~~~~~~~
5
compilation terminated.
6
make[2]: *** [CMakeFiles/pyflex.dir/build.make:271: CMakeFiles/pyflex.dir/opengl/shader.cpp.o] Error 1
7
make[2]: *** Waiting for unfinished jobs....
8
In file included from /home/xuehan/Documents/GitHub/real-stanford/cloth-funnels/cloth_funnels/PyFlex/bindings/opengl/imguiRenderGL.cpp:25:
9
/home/xuehan/Documents/GitHub/real-stanford/cloth-funnels/cloth_funnels/PyFlex/bindings/opengl/shader.h:50:10: fatal error: GL/gl.h: No such file or directory
10
50 | #include <GL/gl.h>
11
| ^~~~~~~~~
12
compilation terminated.
13
make[2]: *** [CMakeFiles/pyflex.dir/build.make:258: CMakeFiles/pyflex.dir/opengl/imguiRenderGL.cpp.o] Error 1
14
In file included from /home/xuehan/Documents/GitHub/real-stanford/cloth-funnels/cloth_funnels/PyFlex/bindings/opengl/../../external/glad/src/glad_egl.c:160,
15
from /home/xuehan/Documents/GitHub/real-stanford/cloth-funnels/cloth_funnels/PyFlex/bindings/opengl/shadersGL.cpp:39:
2 collapsed lines
16
/home/xuehan/Documents/GitHub/real-stanford/cloth-funnels/cloth_funnels/PyFlex/bindings/opengl/../../external/glad/src/../include/glad/glad_egl.h:199:10: fatal error: EGL/eglplatform.h: No such file or directory
17
199 | #include <EGL/eglplatform.h>

Sol

1
sudo apt install freeglut3-dev
Article title:no-gl-h
Article author:Julyfun
Release time:Sep 15, 2023
Copyright 2025
Sitemap