I'm confused. I add opengl32.lib as a library, but, when compiling that, Code::Blocks gives me this error:
opengl32.lib: File not recognized: File format not recognized.
It isn't compiled due to this. When I leave opengl32.lib out of the library stuff, the program compiles, but I'm greeted with a new error:
The procedure entry point glRotatef could not be located in the dynamic link library OPENGL.dll.
OPENGL.dll is trying to be used instead of opengl32.dll, which is what should be used. However, opengl32.lib must be tacked on as a library in order for the program to use opengl32.dll.
Is there a specific opengl32.lib that I should be using made just for Code::Blocks? The ones I've tried off the Internet give me unpleasing results.
Thanks in advance!