Linker Errors in OpenGL
I am trying to go through the tutorials on this site:
But I cant even get it setup right. I am using windows, with Dev C++. I downloaded all the header files. But I get linker errors when I try to compile the examples. I think i have to go into compiler options and add some things to the linker, but I dont know what to add. :confused:
You need to link to the appropriate libraries. Probably opengl32.lib maybe some glu32.lib and others.
Consult your compiler documentation on how to link to specific libraries.
Press CTRL-N, and make a project. Press CTRL-P, and add the above libraries to the "libraries" textbox.