On 9 Dec 2011, at 12:29, Albrecht Schlosser wrote: > > Maybe Ian could tell us something about the dependency - ISTR that he > used to use Cairo in (some of) his builds. Ian, any info about this?
I do use cairo in some projects, but not via the fltk-cairo hooks, I have my own hooks that predate the addition of the fltk-cairo mechanism. In my Makefiles I use something of the form: CCFLAGS += $(shell pkg-config --cflags cairo) LDFLAGS += $(shell pkg-config --libs cairo) So that I use pkg-config to get the Right Libs for cairo to work. In my case, that obviated the need to explicitly call pixman (or not) in the Makefile. FWIW I generally link cairo in static, so that I don't depend on the system provided libs, and my "old" systems are locked down to a version of cairo that does use pixman. On the other hand, my ubuntu 11.10 box is a "recent" cairo that seems to have pixman in the inclue path, but only needs -lcairo in the libs, so... Anyway, using pkg-config may be a way forward? It works well for me on linux, OK under mingw, and, well, I'm not currently using it on OSX, though I am told that it does work now, though it was problematic way back when... _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk