interactive_slam
interactive_slam copied to clipboard
error: GLSL 3.30 is not supported on Ubuntu 16.04 ROS Kinetic
Hey, I build successfully.But when i run
rosrun interactive_slam interactive_slam
get:
error : failed to compile shader /home/qk/catkin_ws/src/interactive_slam/data/shader/rainbow.vert 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
error : failed to compile shader /home/qk/catkin_ws/src/interactive_slam/data/shader/rainbow.frag 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
error : failed to link program error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader construct solver: lm_var_cholmod Using CHOLMOD poseDim -1 landMarkDim -1 blockordering 0 done error : failed to compile shader /home/qk/catkin_ws/src/interactive_slam/data/shader/rainbow.vert 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
error : failed to compile shader /home/qk/catkin_ws/src/interactive_slam/data/shader/rainbow.frag 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
error : failed to link program error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
My system is Ubuntu 16.04 with ROS Kinetic What should i do?Thanks!
I also have this problem with Ubuntu 18.04 in VMware @koide3
I also have this problem with Ubuntu 18.04 in VMware @koide3
I fixed this , I change some code in /src/imgui_application.cpp :
// glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
// glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0);
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
I also have this problem with Ubuntu 18.04 in VMware @koide3
I fixed this , I change some code in /src/imgui_application.cpp :
// glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
// glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0);
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
Thankyou!
Hallo, I also have the same problem. But i can´t fix it.
I have a ubuntu 20.04, ROS noetic. I changed the code like this: `// glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); // glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0);
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);`
but i always get the error:
error : failed to compile shader /home/li/catkin_ws/src/interactive_slam/data/shader/rainbow.vert 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES
error : failed to compile shader /home/li/catkin_ws/src/interactive_slam/data/shader/rainbow.frag 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES
error : failed to link program error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader construct solver: lm_var_cholmod
Using CHOLMOD poseDim -1 landMarkDim -1 blockordering 1
done error : failed to compile shader /home/li/catkin_ws/src/interactive_slam/data/shader/rainbow.vert 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES
error : failed to compile shader /home/li/catkin_ws/src/interactive_slam/data/shader/rainbow.frag 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES
error : failed to link program error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
so can you please have a look? @Sushant-Chavan @QiukuZ @OpenHero @autoperson