Wednesday, August 20, 2014

Create wxWidgets Project with Code::Blocks

With Code::Blocks installed, you can create wxWidgets Project by new a wxWidgets project (File > Project... > Category GUI > wxWidgets Project).

If you have error of:
fatal error: wx/app.h: No such file or directory

You need to install wx-common, and also libwxgtk2.8-dev or libwxgtk3.0-dev.

sudo apt-get install wx-common
sudo apt-get install libwxgtk2.8-dev
sudo apt-get install libwxgtk3.0-dev

The videos show how to install and run, on Ubuntu Linux.

Add Button to wxWidgets project