Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Cairo was not compiled with support for GObject #92

Open
nicerobot opened this issue Nov 19, 2014 · 0 comments
Open

Cairo was not compiled with support for GObject #92

nicerobot opened this issue Nov 19, 2014 · 0 comments

Comments

@nicerobot
Copy link

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 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant