View Full Version : include OpenGL under Linnux with Nvidia lib
03-14-2001, 09:21 AM
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?
I believe you can simply use the Mesa include files, but I'm not 100% sure (I don't have an nvidia card myself).
03-15-2001, 11:48 AM
I do, and it works fine for me...
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).
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.
I forgot to add that the headers are actually Mesa 3.4 headers.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.