FLTK logo

Re: [fltk.general] FLTK as an external dependency in Bazel?

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.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: FLTK as an external dependency in Bazel? Manolo Jan 29, 2023  
  On Jan 29, I started in this thread a sub-topic in reply to Albrecht's report on Jan 28 that FLTK building under macOS blocked with a certain but worked OK with another, earlier commit. "git bisect" allowed me to find what commit introduced this blocking. This commit (873d355) introduced a call to Fl::add_fd() at static initialization time in program fluid. It turned out this was the cause of the blocking:
- the building procedure builds and then runs program fluid to help build other programs;
- fluid erroneously calls Fl::add_fd() at static initialization time;
- specifically under macOS, Fl::add_fd() opens the display;
- for some reason which remains undetermined, an app run from /tmp may block
while attempting to open the display.

But, fluid should not open the display at static initialization time
because it must be usable in command line mode without access to a display.
Thus, Matthias removed from fluid, in a more recent commit (85ac3d3), the
call to Fl::add_fd() at static initialization time. In consequence, building
FLTK from /tmp no longer blocks. The sub-topic I opened is therefore to be
considered, I believe, closed and fixed.

Now, the main topic of this thread is, I believe, different.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/d9d63497-a53e-44ed-aa48-75ef1d538dc7n%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'.