News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

codeblocks glcanvas.h library with wxWidgets

Started by nrslmz, February 12, 2011, 04:59:40 PM

Previous topic - Next topic

nrslmz

I use CB 10.05
Installed wxWidgets 2.8
Using MinGW on Windows

When I start a new wxWidgets project with CB, it compiles the initial version perfectly.
When I add a wxglcanvas to the form, it does not recognize the type or any of the functions from the glcanvas.h library.
I tries this example
http://wiki.wxwidgets.org/WxGLCanvas#wxGLCanvas_sample

It loads wx.h and calls its functions but it says that the GL functions are undefined.

Any help would be appreciated

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]