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 5 of 5

Thread: Missing headers,libs & dlls using Visual C++ .net

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2002
    Posts
    3

    Missing headers,libs & dlls using Visual C++ .net

    I’m attempting to compile an OpenGL app using “Visual C++ .net” and find that there is no GL subdirectory under my include dir.

    I have found several references on the web regarding the GL directory and subsequent header files as they relate to Visual C++ 6. I’m lead to believe that OpenGL headers, libs, dlls were included in VC++6.

    The ironic thing is that when I looked at the “VC++ .net” documentation on msdn.microsoft.com , they document OpenGL functions and include an example of OpenGL code, which again, makes reference to:

    #include <GL\gl.h>
    #include <GL\glu.h>

    I have looked on www.opengl.org for the appropriate files, and all I could find was the GLUT 3.7.6 sdk, that only contains one header “glut.h”, one lib “glut32.lib” and one dll “glut32.dll”.

    Some sites recommend a file from MS (Opengl95.exe), which I have downloaded, but am hesitant to run, fearing what that will do… no documentation included.

    What do I need to compile OpenGL code using “Visual C++ .net” on “Windows XP” ?

  2. #2
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,968

    Re: Missing headers,libs & dlls using Visual C++ .net

    Try downloading an SDK from someone like ATI or NVIDIA.
    http://www.nvidia.com/view.asp?IO=opengl_sdk
    http://www.ati.com/developer/sdk/RadeonSDK/

    [This message has been edited by dorbie (edited 06-09-2002).]

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2002
    Posts
    3

    Re: Missing headers,libs & dlls using Visual C++ .net

    First of all, thanks.

    Well... I downloaded the rage 128 sdk, and it contains a couple of gl headers, but no opengl.h or gluaux.h... Why can't I find what is required on the www.opengl.org download site? (Complete Newbie to OpenGL)

  4. #4
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Bulgaria, Sofia
    Posts
    21

    Re: Missing headers,libs & dlls using Visual C++ .net

    Haders all located in folder:
    <VS_Net_dir>\VC7\PlatformSDK\include\gl
    (...PlatformSDK\lib for libs)

  5. #5
    Junior Member Newbie
    Join Date
    Jun 2002
    Posts
    3

    Re: Missing headers,libs & dlls using Visual C++ .net

    Ah! Thanks, thats it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •