How to find, configure, install, and troubleshoot GTK+

GTK+ FAQ
<<< Previous |  | Next >>>

# How to find, configure, install, and troubleshoot GTK+

# What do I need to compile GTK+? [GTK 2.x]

GTK+ is a large package that is dependent on a number of other tools and libraries. It is recommended that you use precompiled binary packages for your system if possible

To compile GTK+ from source you need a C compiler (gcc) and the X Window System and associated development libraries and packages on your system.

You will also need to have installed the tools and libraries that GTK+ depends upon. These are listed below in the order in which they need to be installed:

- pkg-config (pkg-config Site)
- GNU make (GNU make Site)
- JPEG, PNG and TIFF image libraries (GTK+ Site)
- FreeType (FreeType Site)
- fontconfig (fontconfig Site)
- GNU libiconv library (if your system doesn't have iconv()) (GNU libiconv Site)
- GNU gettext (if your system doesn't have gettext()) (GTK+ Site)
- GLib (GTK+ Site)
- Pango (GTK+ Site)
- ATK (GTK+ Site)
- GTK+ (GTK+ Site)

<<< Previous | Home | Next >>>
What applications have been written with GTK+? [GTK 2.x] |  | Where can I get GTK+? [GTK 2.x]