Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Installing Gtk on Windows

Harry edited this page Oct 22, 2018 · 2 revisions

Step 1: Install MSYS2

Download the MSYS2 installer and follow the installation instructions: http://www.msys2.org/

Step 2: Install GTK+3

Open a MSYS2 shell, and run: pacman -S mingw-w64-x86_64-gtk3

Step 3: Modify PATH variable so that the library can be found

  • Open up Control Panel
  • Go to System and Security > System
  • Click on the Advanced system settings link
  • Click on Environment Variables... button
  • Under System variables find the Path variable and select it
  • Click the Edit button
  • Add either ;C:\msys64\mingw64\bin or ;C:\msys32\mingw32\bin to the end of the variable, depending on your system architecture
  • Click OK, and you are done
  • Restart your system for the changes to apply
Clone this wiki locally