Skip to content

nzjrs/gtk-win32

 
 

Repository files navigation

Building from Source

If you want to build the bundle from source yourself, we have a PowerShell script that will download the sources, apply some patches and run the build. It is largely based on Fan Chun-wei’s Compiling the GTK+ (and Clutter) stack using Visual C++ 2008 and later.

  1. Install the following build tools and dependencies:
  1. Clone the gtk-win32 repository to C:\gtk-build\gtk\github\gtk-win32 This repository contains the build script, project files and patches.

  2. Now you have to allow PowerShell scripts to be run on your system. Open a PowerShell prompt as Administrator and run the following command:

Set-ExecutionPolicy RemoteSigned

  1. Now start a new PowerShell window as a regular user. Go to the gtk-win32 directory and start building with the script:
  • To build the 32-bit bundle, run:
cd C:\gtk-build\hexchat\github\gtk-win32
.\build.ps1
  • To build the 64-bit bundle, run:
cd C:\gtk-build\hexchat\github\gtk-win32
.\build.ps1 -Configuration x64
  1. When the script is done, your GTK+ stack will be found under C:\gtk-build\gtk\gtk. Enjoy!

About

GTK+ 3 stack for Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 50.9%
  • PowerShell 23.1%
  • Shell 17.9%
  • Diff 7.3%
  • Inno Setup 0.8%