Re: [fltk.coredev] Towards a Wayland platform for the FLTK library ?

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: Towards a Wayland platform for the FLTK library ? Ian MacArthur 13:30 Jun 10 top right image
On 10 Jun 2021, at 11:48, Albrecht Schlosser wrote:
> Note: This *must* be done on a Linux system. Dependencies for other platforms including other configurations like `pango` need to be created/edited in the Makefiles "manually". This is what I called the "dependency mess". If anybody could show us an acceptable (i.e. "simple") way to create the dependendies dynamically (automatically during the build), cross-platform and independent of the chosen compiler (!) I'd appreciate that!

Part of the problem (and I think Albrecht and I have poked at this a bit in the past) is that makedepend is pretty ancient and was, IIRC, spun out of X11 work. It has a somewhat erratic behaviour too, in my experience, and often misses dependencies, and very occasionally adds others that do not really exits.

It bit me badly in the past (a build became corrupt because several key dependencies were missed) and I no longer trust it. I *suspect* this is also why the fltk configure builds occasionally fail to rebuild everything correctly after a pull, as the generated dependencies are actually incomplete.

For my part, I use gcc to generate the dependency list, which at least works reliably (in so far as it picks the same files during dependency generation as it picks during compilation...) but that’s not a very portable mechanism, since it doesn’t really work with MS cl. 
Though the mechanism I use does work OK with the gcc personalities of icc and clang.

Hmmm, deja vu - did we not post possible options for doing this... at some point in the past...?

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
To view this discussion on the web visit
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

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