FLTK logo

Re: [fltk.coredev] noisy fltk-config

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: noisy fltk-config Albrecht Schlosser Jan 23, 2022  
 
On 1/23/22 10:12 Evan Laforge wrote:
Hi, this is a minor issue but pretty visible.  In latest fltk from
github, every run of fltk-config prints "grep:
/nix/store/c20mk84ykvyfzixcxr0yg41sbrxsrfx4-fltk-1.4-c0f5080cb056919e898ac572e72fd62568dc307a/bin/FL/fl_config.h:
No such file or directory" which is quite frequent if build files are
using it.

I tracked this down to 6546814a23, which inserts a `if grep -q...`
[...]
... presumably it should know if cairo is
configured via @ substitution thing autotools does, rather than trying
to find a header, or at least it could know the absolute path to the
installed header presumably also via magic @s.

Yep, that's the plan. I'm going to change this once I figured out another Cairo build related issue.

Greg's commit was only a temporary fix as he wrote too in another reply and he "fixed the fix" in another commit.

Coincidentally, I'm interested in trying out the cairo backend so I'm
glad to see an example in there :)

The current Cairo support is not really a "backend", i.e. it doesn't turn FLTK into drawing with Cairo.

It only enables users to draw into an Fl_Cairo_Window in a callback rather than deriving a subclass or setting up drawing with Cairo manually (which should be possible with the stock FLTK library w/o its limited Cairo support as well. If that's what you want to do, that example is applicable.

--
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/5eef9bb6-7a1f-34cd-f7fe-faf111d2ff32%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'.