Make sure you got the following installed on your machine:
libwxgtk2.8-dev
to compile debug configuration, you will also need to install: libwxgtk2.8-dbg
to install it:
Code: Select all
sudo apt-get install libwxgtk2.8-dev
Code: Select all
sudo apt-get install libwxgtk2.8-dbg
Next, create an empty workspace in codelite, place it anywhere on the disk, for example: '/home/youname/wx_samples'
Next, open the Plugins menu, and select: 'Plugins > Gizmos > New wxWidgets Project Wizard...'
Select the simple project: "Simple main with wxWidgets enabled"
Click OK and build the project ( to make sure everything is installed properly )
Now, open the directory of the sample you want to run (usually the wxWidgets samples have a single file), for this example, lets assume that you want to run 'aui' demo.
so open the file auidemo.cpp inside codelite, and copy its entire content and paste it into your main.cpp file. Compile the project and run it
Eran