Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 6 of 6

Thread: include OpenGL under Linnux with Nvidia lib

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    paris
    Posts
    3

    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.

  2. #2
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    418

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

  3. #3
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    State College, PA
    Posts
    186

    Re: include OpenGL under Linnux with Nvidia lib

    I do, and it works fine for me...

    Chris

  4. #4
    Guest

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

  5. #5
    Guest

    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.

  6. #6
    Guest

    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
  •