conformal / gotk3

Go bindings for GTK3
ISC License
471 stars 84 forks source link

Cairo was not compiled with support for GObject #92

Open nicerobot opened 9 years ago

nicerobot commented 9 years ago

Sorry, i can't seem to solve this.

Tying to build the simple example:

$ pwd
/go/src/github.com/conformal/gotk3/gtk/examples/simple

I get:

$ go get
# github.com/conformal/gotk3/cairo
In file included from /go/src/github.com/conformal/gotk3/cairo/cairo.go:24:
/usr/local/Cellar/cairo/1.14.0/include/cairo/cairo-gobject.h:189:3: error: Cairo was not compiled with support for GObject
# error Cairo was not compiled with support for GObject
  ^
1 error generated.

Yet caigo-gobject is available:

$ pkg-config --libs cairo-gobject 
-L/opt/X11/lib -L/usr/local/Cellar/cairo/1.14.0/lib -L/usr/local/Cellar/glib/2.42.1/lib -L/usr/local/opt/gettext/lib -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lintl 
$ pkg-config --libs cairo
-L/opt/X11/lib -lcairo