| [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File ]
STR #2018
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | Unassigned |
Summary: | OSX --enable-cairo fails with Cairo svn |
Version: | 2.0-feature |
Created By: | cstorah |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Comments:
[ Post Text ]
|
#1 | cstorah 04:31 Aug 11, 2008 |
| 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 | |
|
#2 | mike 08:48 Aug 11, 2008 |
| Compile problems are priority 3... | |
|
#3 | spitzak 22:01 Aug 25, 2008 |
| suggested change is checked in. | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |