View Full Version : GL3 and nVidia
04-24-2010, 09:15 AM
I'm trying to start my first GL3 program under Linux, and I'm having trouble finding the gl3.h header. I'm using the nVidia binary blob driver/glx, and I assumed that it would come with its own headers, but it looks like it doesn't. All my GL headers are the ones that came with xorg (mesa); the nVidia driver only installed cuda headers. Is this normal, and if so, where can I get a gl3.h that is suitable for nVidia development? I'm running gentoo, if it matters.
04-24-2010, 10:07 AM
You can find gl3.h here : http://www.opengl.org/registry/
04-24-2010, 10:44 AM
I can now compile and run the code at http://www.opengl.org/wiki/Tutorial1:_Creating_a_Cross_Platform_OpenGL_3.2_Co ntext_in_SDL_(C_/_SDL). Thanks!
Are most linux devs just putting that header in their include/GL directory by hand, or do most distros ship a package just for that?
04-24-2010, 02:11 PM
I put gl3 header by hand in my project directory. This is very convenient in my opinion.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.