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) Albrecht Schlosser Mar 01, 2021  
 
On 3/1/21 1:12 PM Manolo wrote:

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.

Thank you very much for your quick tests and feedback!

    - 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

Okay, I'll check and compare this on my system. Maybe this has always been so.

(MacBook is just installing Big Sur 11.2.2...)

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

Is there a difference between fltk-config generated by configure vs CMake?

--
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/f7a9488d-7ff4-3b4c-d19d-1fb7e5a8b766%40online.de.
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'.