Error on Lesson 1

Started by
4 comments, last by Simian Man 18 years, 7 months ago
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?
Advertisement
The comma?
If at first you don't succeed, redefine success.
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...
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].
If at first you don't succeed, redefine success.
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
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!

This topic is closed to new replies.

Advertisement