//
you're reading...
Tech

How To Use OpenGL In wxWidgets?

The combination of OpenGL with any GUI tool can never be underestimated.

As default, wxWidgets might not support OpenGL. If it does not, take a look at $(WXWIDGETS)\include\wx\msw\setup.h. And search for

#define wxUSE_GLCANVAS       0

and change the 0 to 1.

Then you need to compile wxWidgets again. As to how, please refer to an earlier post.

After you are done, you can try a sample program from here.

As always, ping me via email for any questions.

Advertisements

About Xiang 'Anthony' Chen

Making an Impact in Your Life

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Twitter Updates

%d bloggers like this: