1
編譯GTK + -3.7.10中的Mac OSX 10.7.5,總是收到錯誤:'CAIRO_GOBJECT_TYPE_SURFACE' 未申報
In file included from gdkwindow.c:28:
/usr/local/include/cairo/cairo-gobject.h:183:3: error: #error Cairo was not compiled with support for GObject
gdkwindow.c: In function 'gdk_window_class_init':
gdkwindow.c:511: error: 'CAIRO_GOBJECT_TYPE_SURFACE' undeclared (first use in this function)
gdkwindow.c:511: error: (Each undeclared identifier is reported only once
gdkwindow.c:511: error: for each function it appears in.)
make[4]: *** [gdkwindow.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
我編譯開羅1.10:
的./configure --prefix =/usr/local --enable-gobject = yes
但總是得到相同的錯誤。 也編譯了glib-2.35.8。
任何想法?