Sorry, I am using the GCC compiler, it's just the source is an example tutorial. I didn't know the #pragma was VC only
Okay, as I understand "-lopengl32 -lglu32" solves your problems, but you want link libraries via GUI interface?
If so, you should add
libopengl32.
a and
libglu32.
a (you can locate these in MinGW /lib subdirectory) instead of opengl32.lib & glu32.lib.
It comes to any other lib as well, if you were linking
foo.lib in your VC 6.0, you will link lib
foo.a while using MinGW compiler.
Hope this solves your problem.
Greetz.