Installing wxWidgets on Debian based linux

Debian based linux like ubuntu and linux mint can use these steps to install wxWidgets.

$ sudo apt-get install build-essential

If we do not have a C++ compiler yet, we install the build-essential package.

I think this is an meta package that install the actual packages for programming task.

$ sudo apt-get install libwxgtk3.0-dev

This installs the wxWidgets package.

To test it with minimal console application that emit some text we will create console.cpp and compile it.

#include <wx/wx.h>

int main(int argc, char **argv)
{
wxPuts(wxT(“A wxWidgets console application”));
}

Continue reading Installing wxWidgets on Debian based linux

Starting GUI Programming using Code::Block and WxWidgets

I decide now is time for some trial of GUI programming on my manjaro linux installation. After browsing on the net for some time, tonigth im installing and using codeblock for the first time.

Lets add it to our manjaro linux system by using add remove program.

Continue reading Starting GUI Programming using Code::Block and WxWidgets