Skip to content

Instantly share code, notes, and snippets.

@juniorz
Created September 21, 2015 04:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juniorz/4c02fa7794e0ba64dd47 to your computer and use it in GitHub Desktop.
Save juniorz/4c02fa7794e0ba64dd47 to your computer and use it in GitHub Desktop.
go-gtk on OSX

It initialliy failed with:

$ go get github.com/mattn/go-gtk/gtk
# github.com/mattn/go-gtk/gdk
../../mattn/go-gtk/gdk/gdk_darwin.go:5:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^
1 error generated.

Related issues:

I tried

brew reinstall gtk+ --with-quartz-relocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment