Skip to content

Instantly share code, notes, and snippets.

@bl8
Last active May 19, 2016 19:29
Show Gist options
  • Save bl8/5f57b8d6dab71cacc9814dbd0907f29c to your computer and use it in GitHub Desktop.
Save bl8/5f57b8d6dab71cacc9814dbd0907f29c to your computer and use it in GitHub Desktop.
Gtk# Windows installer

Prerequisites

  1. Install WiX : http://wixtoolset.org/

  2. Install GTK+ 3 bundle by following http://www.gtk.org/download/win32_tutorial.php

  3. Install Microsoft Windows SDK:

  1. Install MinGW by following http://www.mingw.org/wiki/Getting_Started, and install the package libiconv-1.14-3-mingw32-dev

  2. Add to the PATH environement variable the various directories for the above. For example: C:\MinGW\bin;C:\gtk3\bin;C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin;C:\Windows\Microsoft.NET\Framework\v4.0.30319

  3. Remove from PATH environement variable any reference to GTK+ 2.x. For example : C:\Program Files (x86)\GtkSharp\2.12\bin

Creating the installer

Done in MSYS shell.

If building from git, in MSYS shell: export ACLOCAL_FLAGS="-I C:\\gtk3\\share\\aclocal"

If everything is detected by ./configure, the installer should be built by make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment