PDA

View Full Version : Missing headers,libs & dlls using Visual C++ .net



jadkins
06-09-2002, 09:58 AM
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 (http://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” ?

dorbie
06-09-2002, 10:09 AM
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).]

jadkins
06-09-2002, 11:51 AM
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 (http://www.opengl.org) download site? (Complete Newbie to OpenGL)

Scorpion
06-09-2002, 12:02 PM
Haders all located in folder:
<VS_Net_dir>\VC7\PlatformSDK\include\gl
(...PlatformSDK\lib for libs)

jadkins
06-09-2002, 12:21 PM
Ah! Thanks, thats it!