Windows doesn't come with a standard package manager for things such as GTK+, but the MSYS project aims to solve this problem. Using the MSYS Mingw-w64 terminal (installed previously if you followed the CGo setup instructions), we can install the additional libraries. By issuing the following commands, the correct libraries should be up and running:
pacman -S mingw-w64-x86_64-gtk2
This installs the GTK+ library and all of its dependencies. The examples in this chapter will need to run from the MSYS terminal, even once built.