User forums > Help

codeblocks glcanvas.h library with wxWidgets

(1/1)

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:
Read the FAQs

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F

Tim S.

Navigation

[0] Message Index

Go to full version