• Advertisement
Sign in to follow this  

Error on Lesson 1

This topic is 4552 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

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
Advertisement
ok...I guess I was missing something obvious :/

Thanks for the help!

I think I'll go stand in a corner for a while now...

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
Sign in to follow this  

  • Advertisement