Since GTK+ is a C library, we'll need to install it first. The Rust bindings use GTK+ version 3, so make sure you do not install the old version 2.
Installing the prerequisite
Installing GTK+ on Linux
On Linux, GTK+ can be installed through the package manager of your distribution.
On Ubuntu (or other Debian derivatives):
sudo apt-get install libgtk-3-dev
Installing GTK+ on Mac
On OSX, you just need to run the following command:
brew install gtk+3 gnome-icon-theme