{Linker error} undefined reference to ...

I’m new to OpenGL and I can’t get the Linker error to go away. HELP

Add the needed libs in your linker settings.
Can you be more specific ? Undefined reference to what ? Which compiler/IDE do you use ?

OK, What are the libs and how do I change my linker settings
Undefined reference to ‘glBegin@4’. I am using Dev-C++

In “Project options”/parameters/Linker :

maybe also -lglu32 -lglut etc

You know that Devc++ has convenient community packages that you can download from the IDE, by doing Tools/Check for updates/packages ?

Get the ones having “GL” in the name, then you will be able to start a new project from a working glut / sdl / whatever template.