DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2018
Version: 2.0-feature


Trying to build on OSX 10.4, Cairo svn, FLTK svn.
./configure --enable-cairo --enable-shared
make
Results in fltk/src/osx/run.cpp errors:

...
osx/run.cxx: In function 'cairo_surface_t*
fltk::cairo_create_surface(fltk::Window*)':
osx/run.cxx:78: error: cannot convert 'CGContext*' to 'cairo_format_t' for
argument '1' to 'cairo_surface_t*
cairo_quartz_surface_create(cairo_format_t, unsigned int, unsigned int)'
...


To get it to compile I had to change two references of
cairo_quartz_surface_create
to
cairo_quartz_surface_create_for_cg_context
and remove the last bool parameter.

Now the linker fails with 'ld: unknown flag: -Wl,-framework,CoreServices'
but that may well be libtool errors for a change!.

Note: As expected, if --enable-cairo is omitted it builds without errors.


Chris


Link: http://www.fltk.org/str.php?L2018
Version: 2.0-feature

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to