How do I link OpenGL with g++?

So, I don’t use CodeBlocks nor Visual Studio. I use MinGW g++ with command line.

I’ve been searching online to find how to link OpenGL with g++ but I couldn’t find any answer.

so that’s why I just registered :smiley:

So can anyone help me?

[QUOTE=yj1214;1265042]So, I don’t use CodeBlocks nor Visual Studio. I use MinGW g++ with command line.

I’ve been searching online to find how to link OpenGL with g++ but I couldn’t find any answer.

so that’s why I just registered :smiley:

So can anyone help me?[/QUOTE]

Try these guidelines
http://web.cs.wpi.edu/~gogo/courses/mingw/