Monday, August 23, 2010

Setting up Geany for GTK

To setup Geany for GTK, you have to change Build settings.

1. Go to Build menu and select "Set Include and Arguments" option.
2. Append `pkg-config --cflags gtk+-2.0` to Compile box. (Be sure to use back quote ` not single quote `)
gcc -Wall -c "%f" `pkg-config --cflags gtk+-2.0`
3. Append `pkg-config --libs gtk+-2.0` to Build box. (Be sure to use back quote ` not single quote `)
gcc -Wall -o "%e" "%f" `pkg-config --libs gtk+-2.0`


Reference: "Geany GTK2 setup Ubuntu 10.04"

No comments:

Post a Comment