-
include OpenGL under Linnux with Nvidia lib
hi,
i have a Nvidia card under linux with this specifique library libGL.so.
i needs openGL include, glut include and glext include to compill a soft.
i can use the mesa include????
or, where i can have appropriate include?
thanks.
-
Member
Regular Contributor
Re: include OpenGL under Linnux with Nvidia lib
I believe you can simply use the Mesa include files, but I'm not 100% sure (I don't have an nvidia card myself).
-
Junior Member
Regular Contributor
Re: include OpenGL under Linnux with Nvidia lib
I do, and it works fine for me...
Chris
-
Re: include OpenGL under Linnux with Nvidia lib
Hi,
I'm not sure but their is no differences between Mesa includes and nvidia Opengl's if you don't use opengl extension.
But you need, to use the hardware accelerated driver, compile your program using the
the -lGL -lGLU... and not the -lMesaGL -lMesaGLU ...
Nevertheless only use the standart GL includes and switch i 'll make your program more portale (not like some of old NeHe tuts).
-
Re: include OpenGL under Linnux with Nvidia lib
When you install XFree86 4.0.x, the installer should install the OpenGL includes in /usr/X11R6/include/GL by default. It then creates a symlink from /usr/include/GL to /usr/X11R6/include/GL. I don't know if this holds true when using RPM installers, but the XFree installer does this.
-
Re: include OpenGL under Linnux with Nvidia lib
I forgot to add that the headers are actually Mesa 3.4 headers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules