Linker errors

Can somebody PLEASE help me. I’m trying to compile OpenGL programs using Dev-C++. I’ve added the glu32, glut32 and opengl32 libraries to the linker in the parameter options but when I actually try and compile, I get a list of ‘Linker errors’ such as:
[Linker error] undefined reference to `_imp__glLoadIdentity’.

Does anybody know how to fix these errors and run OpenGL programs in Dev-C++?

Thanks.

Hello,

this line always worked fine with me:

-lopengl32 -lgdi32 -lglu32 -glut32

Regards,

Hans

Sorry,

it is , of course,

-lopengl32 -lgdi32 -lglut32 -lglu32

Hans

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.