centos下配置OpenGL环境简单记录

yum install mesa-libGL-devel mesa-libGLU-devel freeglut-devel
yum install mesa* freeglut* *GLEW*

如遇报错error:0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, and 3.00 ES

解决办法:export MESA_GL_VERSION_OVERRIDE=3.3

其他错误如

这种错误可暂不处理,不影响显示

 

posted @ 2023-11-09 16:06  海_纳百川  阅读(196)  评论(0编辑  收藏  举报
本站总访问量