Sign in to follow this  
Empath

Error on Lesson 1

Recommended Posts

Hi, I've just started learning OpenGL, but I get an error on the first lesson
Quote:
Linking... LINK : fatal error LNK1104: cannot open file "OpenGL32.lib," Error executing link.exe. NeHe1.exe - 1 error(s), 0 warning(s)
As far as I can tell I have linked everything properly (as per the instructions in lesson 1) and I have the 'OpenGl32.lib' file in the 'lib' folder on my compiler (Microsoft Visual C++ 6.0). Am I missing something obvious here?

Share this post


Link to post
Share on other sites
Heh, don't worry about it. I had an entire thread full of people trying to figure out what was wrong with my program once - only for me to find out I wasn't actually compiling the correct files.

It happens [smile].

Share this post


Link to post
Share on other sites
I once #included a .cxx file in a late night session - took me awhile before I found out the source of all my compiler errors!

Doh!

Roach

Share this post


Link to post
Share on other sites
Quote:
Original post by Roach
I once #included a .cxx file in a late night session - took me awhile before I found out the source of all my compiler errors!
Roach


Once, I did that in the same .cpp file. And since it obviously did not have an include gaurd, the preprocessor went into infinite inclusion cycle and I got one error:

>Internal compiler error.

Very hard to figure out!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this