STR #2018

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

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:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files


Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#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.  
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.