How do you link together wxWidgets, Codelite, MinGW, and OpenGL

Hi everyone. I've just started learning to use OpenGL in C++ and so far I have not a clue of how to install it. I want to beable to use it with wxWidgets. I already have installed codelite 5.1 with wxWidgets and Mingw. I have looked at freeglut, glut the opengl site and it's just really confusing. Please help.
you must either download a version that matches your MinGW version or compile the library yourself.

Aceix.
wxWidgets for windows already has OpenGL included, so there is no need to download anything (most likely).
http://www.wxwidgets.org/docs/tutorials/opengl.htm

The class you need is wxGLCanvas.
http://wiki.wxwidgets.org/WxGLCanvas
http://docs.wxwidgets.org/trunk/classwx_g_l_canvas.html
Last edited on
The way I installed wxwidgets and mingw was I installed it in a codelite package. I downloaded FreeGLUT and it works except I get this error within wxGL.h

gl.h no such file or directory
Topic archived. No new replies allowed.