Skip to content

Instantly share code, notes, and snippets.

@evincarofautumn
Created October 9, 2014 19:06
Show Gist options
  • Save evincarofautumn/7006675d11d400850e45 to your computer and use it in GitHub Desktop.
Save evincarofautumn/7006675d11d400850e45 to your computer and use it in GitHub Desktop.
Installing GTK# on OS X 10.9.4
brew install pango
brew install atk
brew install gtk+
tar xvf gtk-sharp-2.12.10.tar.gz
cd gtk-sharp-2.12.10
# Set PKG_CONFIG_PATH so that cairo knows where to find xcb-shm.
# Set __GLIB_H_INSIDE__ to stop glib from preventing GTK# from including its headers other than glib.h.
# Alias _glibsharp_g_thread_supported to the missing _g_thread_supported.
./configure --prefix=/usr/local PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig CFLAGS="-D__GLIB_H_INSIDE__" LDFLAGS="-Wl,-alias,_glibsharp_g_thread_supported,_g_thread_supported"
make -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment