Code::Blocks Forums

User forums => Help => Topic started by: nrslmz on February 12, 2011, 04:59:40 pm

Title: codeblocks glcanvas.h library with wxWidgets
Post by: nrslmz on February 12, 2011, 04:59:40 pm
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
Title: Re: codeblocks glcanvas.h library with wxWidgets
Post by: stahta01 on February 12, 2011, 05:13:20 pm
Read the FAQs

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

Tim S.