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?
I installed the wxWidgets source code, compiled it and am linking the libraries thus
Share
For building on Windows with project files:
Assume $(WXWIDGETSROOT) is the root directory of your wxWidgets installation.
#defineforwxUSE_GLCANVAS.For building on Linux and other
./configurebased platforms:Just use
./configure --with-opengl(A mashup answer from two partial answers given by others)