The Preliminary of Visual Programming under Linux - Unbelievable - Be more nonchalant when encountering events, and be a bit vague in dealing with the world... sink

by stilling2006 on 2009-09-22 17:35:39

First of all, I admit that I don't really know the significance of messing around with visual programming under Linux. It's purely driven by interest and curiosity. The final result has made me quite happy.

Since I decided to go for visual programming, I first needed to install GTK, then wxWindows. A long time ago, I had already installed Code::Blocks and Gedit.

First, I entered:

```

sudo apt-cache search wxgtk

```

I found that the search results included content related to wxWindows, so I chose to install the `libwxgtk2.8-dev` package. At the same time, I also installed some other related packages. The total commands were as follows:

```

sudo apt-get install libwxgtk2.8-dev

sudo apt-get install wx2.8-doc

sudo apt-get install gettext

sudo apt-get install wx-common

```

The last three are additional packages, but since I wanted to study this properly, I figured I should also install relevant documentation and such.

Before installing GTK, I had tried creating a GTK project in Code::Blocks, but it wouldn't compile because it couldn't find the corresponding libraries. After the installation was complete, however, everything worked perfectly on the first try.