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

error: GLSL 3.30 is not supported on Ubuntu 16.04 ROS Kinetic #15

Open
QiukuZ opened this issue Feb 23, 2020 · 3 comments
Open

error: GLSL 3.30 is not supported on Ubuntu 16.04 ROS Kinetic #15

QiukuZ opened this issue Feb 23, 2020 · 3 comments

Comments

@QiukuZ
Copy link

QiukuZ commented Feb 23, 2020

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!

@autoperson
Copy link

autoperson commented Feb 23, 2020

I also have this problem with Ubuntu 18.04 in VMware @koide3

@QiukuZ
Copy link
Author

QiukuZ commented Feb 23, 2020

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);

@autoperson
Copy link

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!

@momoistda
Copy link

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

@momoistda
Copy link

so can you please have a look? @Sushant-Chavan @QiukuZ @OpenHero @autoperson

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

3 participants