Author Topic: codeblocks glcanvas.h library with wxWidgets  (Read 4126 times)

nrslmz

  • Guest
codeblocks glcanvas.h library with wxWidgets
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7789
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org