> I'm attempting to compile an OpenGL app using "Visual C++ .net" and
> find that there is no GL subdirectory under my include dir.
It's there somewhere. I installed .Net and compiled an
OpenGL app no problems.
Have a look in the "platformSDK" folder. I think they
separated the ISO C++ header files from the Microsoft
headers and put the non-ISO files in there.
Quote:> 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>
If you type "#include <gl/gl.h> in your program, it should
work. Did you actually try it? Or did you just go looking
for the files then assume it would fail because you couldn't
see them?
Quote:> I have looked on www.opengl.org for the appropriate files
>
You don't want to do that. The files are usually specific
to the compiler.
Quote:> 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.
You don't want that either.
Quote:> What do I need to compile OpenGL code using "Visual C++ .net" on
> "Windows XP" ?
Just the compiler.
However my advice would be to stick with VC++ 6.0.
I tried .Net and it's a *big* step backwards in
usability and functionality. Much slower compiles,
slower/bigger .exe files, no profiler, terrible
documentation for the C++ STL, no profiler, etc.
I really tried hard (I'd just spent a lot of money)
but after a few days I decided that really wasn't
a single thing I could point at and say "that's an
improvement over VC++ 6.0". If you read the VStudio
newsgroups everybody else is saying pretty much the
same thing. For C++, stick with VC++6.0. The only
reason to use VS .Net is if you're writing .Net
programs (which VC++ 6.0 doesn't do).
In the end I decided I needed the 3.5 Gb of disk
space more than I needed Visual Studio .Net.
--
<\___/>
/ O O \
\_____/ FTB.