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.

I believe you can simply use the Mesa include files, but I’m not 100% sure (I don’t have an nvidia card myself).

I do, and it works fine for me…

Chris

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).

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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.