概述
我的SO是OpenSuse版本12.2(x86_64)Mantis,带有KDE桌面。 我目前从存储库安装了NVidia驱动程序(319)。 3D加速工作和驱动程序似乎支持OpenGL 4.3。
My SO is OpenSuse version 12.2 (x86_64) Mantis, with KDE desktop. I have currently the NVidia driver (319) installed from the repository. 3D acceleration work and the driver seem to support OpenGL 4.3.
我正在尝试编写一个简单的OpenGL示例(只是在过剩窗口中的一个三角形),但我无法因为GL / gl.h已过时:当前标题是带有openGL 1.3的mesa,它不支持glCreateShader ,glAttachShader ......
I am trying to programme a simple OpenGL sample (just a triangle in a glut windows), but I am unable because GL/gl.h is outdated: the current header is the mesa with openGL 1.3, which does nos support glCreateShader, glAttachShader...
我试过$ sudo find / -name gl3.h(openGL 3.1并且还应该包含这个头文件),但它不会返回任何结果,所以我认为Nvidia驱动程序不包含库/头文件。
I have tryed $ sudo find / -name gl3.h (openGL 3.1 and further should include this header) but it does not return any result, so I suppose Nvidia driver does not include library/headers.
我的问题是:在哪里可以获得已安装的NVidia驱动程序的GL / gl.h? Onyone遇到了同样的问题并解决了吗?
My question is: Where can I get the GL/gl.h for the installed NVidia driver? Onyone has got this same problem and solve it?
P.S。 要安装NVidia驱动程序,我刚从NVidia存储库安装了驱动程序,用于opensuse 12.2( [http:// download .nvidia.com / opensuse / 12.2 /](http://download.nvidia.com/opensuse/12.2/) )(与Yast一起)
P.S. To install the NVidia driver, I just installed the driver from the NVidia repository for opensuse 12.2 ([http://download.nvidia.com/opensuse/12.2/](http://download.nvidia.com/opensuse/12.2/)) (with Yast)
我已安装:
I have installed:
* nvidia-computeG03(使用GPGPU进行计算的NVIDIA驱动程序)
* nvidia-gfxG03-kmp-desktop(用于GForce 8xxx和更新GPU的NVIDIA图形驱动程序内核模块)
* x11-video-nvidiaG03(适用于GeForce 8xxx及更新GPUx的NVIDIA显卡驱动程序)
* nvidia-computeG03 (NVIDIA driver for computing with GPGPU)
* nvidia-gfxG03-kmp-desktop (NVIDIA graphics driver kernel module for GForce 8xxx and newer GPUs)
* x11-video-nvidiaG03 (NVIDIA graphics driver for GeForce 8xxx and newer GPUx)
最后
以上就是碧蓝河马为你收集整理的查看linux驱动使用的头文件,如何在linux中获取OpenGL-3头文件(C / C ++)(使用nvidia驱动程序)...的全部内容,希望文章能够帮你解决查看linux驱动使用的头文件,如何在linux中获取OpenGL-3头文件(C / C ++)(使用nvidia驱动程序)...所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复