• Advertisement
Sign in to follow this  

Can't find gl/glaux.h!

This topic is 4532 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I'm new to these forums, but I was working on this tutorial by NeHe. http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=01 I started with serval errors but now I'm down to one: gl\glaux.h: No such file or directory. I downloaded OpenGL from here: http://www.berkelium.com/OpenGL/sgi-download.html But for some reason compiler can't find that one library? Any suggestions?

Share this post


Link to post
Share on other sites
Advertisement
You have to set your IDE so it's know WHERE to find the header file. You also need to set it for the lib files.

I don't know whats your IDE but for VS2003 it's should be :

Tool
Option
Projects
VC++ Directories, and do like it's already done on the screen.

Share this post


Link to post
Share on other sites
Well, if that is the case, what should I do. I did try to look for a download of just gl\glaux.h last night, but didn't seem to have much luck. Should I re-write Nehe's lesson without it? If so, (since I'm obviously new to OpenGL) what would you suggest on going about this?

Share this post


Link to post
Share on other sites
There's a dev-pak for glaux. Just get it through "check for updates/packages" under tools.

Share this post


Link to post
Share on other sites
Read the error message, they're made to be readable by people for a reason. Your error message says that there's no such thing as gl/glaux.h. This could be for a variety of reasons, maybe it isn't even there? You're going to have to get your hands on it though. Download this file. Run the file and copy the glaux.h file to your include directory (default dir: C:\Dev-Cpp\Include). Once you've done that try compiling again.

Good luck.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Ok, I ran the file Undeadlnsanity posted. Opened the C:\Dev-Cpp\Include file, took the glaux and gl header files from the desktop and put them inside C:\Dev-Cpp\Include file but I still get the same results?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement