我正在尝试按照本教程( http://neokabuto.blogspot.com/2013/03/opentk-tutorial-2-drawing-triangle.html)在使用monodevelop的lubuntu 14.04.1笔记本电脑工作站上。执行程序时,我得到了
GLSL 3.30 is not supported. Supported versions are 1.10, 1.20, 1.30, and 1.00 E
通过大量研究并在ubuntu论坛上询问,我最终得到了一个点,我的笔记本电脑确实(似乎)包含GLSL 3.30,如下所示:
glxinfo | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.6.0-devel (git-345e8cc 2015-02-08 trusty-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 10.6.0-devel (git-345e8cc 2015-02-08 trusty-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.6.0-devel (git-345e8cc 2015-02-08 trusty-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
所以我很茫然。感谢您的帮助。
答案 0 :(得分:0)
我有同样的问题(ubuntu 14.10)我通过进入着色器文件并更改显示
的行来修复它到