I installed the wxWidgets source code, compiled it and am linking the libraries thus obtained with my application code. Now I need to use OpenGL in my wxWidgets application. How do I enable this?
Assume $(WXWIDGETSROOT) is the root directory of your wxWidgets installation.
#define
for wxUSE_GLCANVAS
. ./configure
based platforms:Just use ./configure --with-opengl
(A mashup answer from two partial answers given by others)