|
From: Bruce S. <Bru...@nc...> - 2007-11-03 14:34:03
|
Hi Bruce, Well.. all was going well, 'til I got to the "cairomm" package. I'm getting a "'QuartzSurface' was not declared in this scope" error. I'll try to track it down. -steve 192-168-40-171:~/Source/gnome/cairomm-1.4.4 steve$ make Making all in cairomm make all-recursive if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/opt/gtk/include/cairo -I/opt/gtk/include/libpng12 -g -O2 -MT context.lo -MD -MP -MF ".deps/context.Tpo" -c -o context.lo context.cc; \ then mv -f ".deps/context.Tpo" ".deps/context.Plo"; else rm -f ".deps/context.Tpo"; exit 1; fi mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/opt/gtk/include/cairo -I/opt/gtk/include/libpng12 -g -O2 -MT context.lo -MD -MP -MF .deps/context.Tpo -c context.cc -fno-common -DPIC -o .libs/context.o context.cc: In function 'Cairo::RefPtr<Cairo::Surface> Cairo::get_surface_wrapper(cairo_surface_t*)': context.cc:686: error: 'QuartzSurface' was not declared in this scope context.cc:686: error: template argument 1 is invalid context.cc:686: error: expected type-specifier before 'QuartzSurface' context.cc:686: error: expected `)' before 'QuartzSurface' make[3]: *** [context.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 On Nov 2, 2007, at 10:36 AM, Steve Spicklemire wrote: > Hi Bruce, > > That's what I started last night. Actually I think it might just work. The trouble is I'm having to peel the onion of dependencies. > > I built gtk2 on the first go... yeah! > > I tried to build gtkmm. It apparently needs glibmm. > I download and attempt to build glibmm. It apparently needs libsigc++-2.0! > I download and build libsigc++-2.0. > I try again with glibmm. It needs pkg-config. > I download and build pkg-config. > I try again with glibmm... it's still building at this moment. > > If I can get the thing to come together.. I'll let you know! > > -steve > > On Nov 2, 2007, at 9:39 AM, Bruce Sherwood wrote: > >> I don't know enough about this, but I wonder whether the following would work: Install the experimental gtk2 on a Mac, the gtk2 that talks to Quartz rather than to X11. Then compile (from source) gtkmm on that same Mac. Since gtkmm is a wrapper of gtk, maybe this would give us a gtkmm environment that would talk to Quartz. >> >> Bruce >> > |