User forums > Help

wxsmith opengl canvas

<< < (2/2)

julesd:
When I use the project wizard select wxwidgets project, then use wxsmith with frame base.
I add a panel, then go to advance and select wxgl canvas and add that, but when I run it I get that error.

Every other object seems to work fine, it's just when I add the wlcanvas.

gd_on:
As you don't give details, it's not obvious to help you. May be you should generate wxwidgets with the option USE_OPENGL=1 because by default, it's not generated with this support.

gd_on

stahta01:
Direction to Build wxWidgets with openGL option
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.8.9_Monolithic_Build_with_openGL_for_Windows

Tim S.

Navigation

[0] Message Index

[*] Previous page

Go to full version