OGL linking

Hey, I'm back with another simple question about linking; what do I need to link to when using OpenGL (on Linux)? (I'm using Code::Blocks, and yes, I searched the official site and http://nehe.gamedev.net/, too.)

Thanks in advance.
To link OpenGL, OpenGL Utility Library and OpenGL Utility Toolkit:
-lGL -lGLU -lglut
If you aren't using Utility libraries, you should only need -lGL
That was easier than I expected, thanks Bazzy. ;)
Above also make some assumption on the LINKER PATH settings. Most of the time it is correct but if Administrator decide to install those libraries on non-conventional path, you may need to set the LINKER PATH so that it can be found and linked successfully.
Just one thing; do I have to include any libraries (if so, which)?
Topic archived. No new replies allowed.