First time here? Checkout the FAQ!
x
0 votes
by (340 points)
In Linux ecosystem, when I try to load .pts file in meshalyzer after launching it through AppImage, I am getting the following error:

ERROR::SHADER::VERTEX::COMPILATION_FAILED

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

ERROR::SHADER::FRAGMENT::COMPILATION_FAILED

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

ERROR::SHADER::PROGRAM::LINKING_FAILED

error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader

A similar issue for WSL is reported in the following link as well:

https://opencarp.org/q2a/894/glsl-4-0-not-supported-through-windows-wsl

I wanted to post about it to be a reference to the ones experiencing a similar issue. It would be very nice if developers can confirm that GLSL 4.10 is an absolute necessity and there is no way to work around this issue other than using meshalyzer in alternative platforms.

Thank you in advance.

1 Answer

0 votes
by (19.1k points)
selected by
 
Best answer
by (340 points)
As Tomas Stary suggested running the following code before launching meshalyzer solves the issue:

export MESA_GL_VERSION_OVERRIDE=4.1

Thanks.
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
MathJax.Hub.Config({ tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ], config: ["MMLorHTML.js"], jax: ["input/TeX"], processEscapes: true } }); MathJax.Hub.Config({ "HTML-CSS": { linebreaks: { automatic: true } } });
...