FLTK logo

Re: [fltk.coredev] FLTK Cairo builds (autoconf + CMake)

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 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: FLTK Cairo builds (autoconf + CMake) Manolo Mar 01, 2021  
 

On Monday, March 1, 2021 at 11:59:35 AM UTC+1 Albrecht Schlosser wrote:
I have tested on my macOS setup with fink (rather than Homebrew).

> - does it work with configure --enable-cairo ?
This followed by make runs OK

> - does it work with cmake -D OPTION_CAIRO=ON ?
This followed by make runs OK
 

- does `fltk-config --use-cairo --compile test/cairo_test.cxx` work?
Yes it does.


- do `fltk-config [--use-cairo] --cxxflags` and `--ldflags` etc. work as
expected?
It does work, but cairo-related options appear also without --use-cairo :
xxxxx% ./fltk-config --cxxflags
-I. -I/opt/sw/include/cairo -I/opt/sw/include -I/opt/sw/include/freetype2 -I/opt/X11/include -I./png -I./jpeg -I/opt/sw/include/cairo -I/opt/sw/include -I/opt/sw/include/freetype2 -I/opt/X11/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT

They don't appear when ldflags are asked :
% ./fltk-config --ldflags
-L./lib -lfltk -pthread -lpthread -framework Cocoa

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/d8d1476e-d6f9-445e-9f9b-cf2365890c96n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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'.