Not new to Ubuntu or programming but I am new to programming in C and gtk. Have been using Quickly for the odd program. I want to play around with C and gtk.
What gtk packages do I need to install to have a working development environment with C?
Not new to Ubuntu or programming but I am new to programming in C and gtk. Have been using Quickly for the odd program. I want to play around with C and gtk.
What gtk packages do I need to install to have a working development environment with C?
I cheat and use the list of packages needed to build other big GTK applications instead:
Or for a more minimal starting point, go with the bare minimum and add on when you need to:
For a full development environment, the gnome-devel metapackage will install a full GTK + GNOME development environment, including the development documentation and the Anjuta IDE.
This is quite a lot more than the minimal set of things you'll need for GTK development, but it can be nice to have everything you're likely to need available.
You probably want an application like Anjuta or CodeBlocks (both can be found in the software center).
I would HIGHLY suggest Anjuta over most other IDE's for it's Glade integration (among other features), usage of autotools (less headaches), and the portability of the code (you can use any text editor you like =).
If you have no idealogical issues, you can try using Monodevelop (it's a good IDE, similar to Visual Studio).
To get the dependencies for a basic GTK+ development, just install buildessential and libgtk2.0-dev as Kees noted.