I was just wondering because I figured with all the WMs supported, it might not be too hard to add one which was a dummy and basically ignored events. Anyways, the main issue was that I was on a cluster without a working Xvfb which has since been fixed.
15+ years and 1000's of lines into developing my program, I probably would have done things differently if I had known.
On Tuesday, January 4, 2022 at 3:09:48 AM UTC+1 er...@seriss.com wrote:
I have developed an FLTK visualization application which uses
GL and produces PNGs. I would also like to use it on systems
remotely without having to connect to an X11 server. I can use
OSmesa to create the OpenGL context but FLTK uses some X11
calls. Would it be possible to compile FLTK without having to
link any X11 libraries? I need a window in which to run the
OpenGL commands.
FLTK is pretty tied to the window manager's event systems
(mouse, keyboard..).
If your needs are purely openGL and PNG generation, you
probably
should decouple your program from all window manager oriented
graphics
(e.g. FLTK, GLUT, etc) by splitting it into a back end (that
doesn't require FLTK)
and a front end (that does use FLTK) so you can compile your
program in two
different modes, e.g. one for headless rendering, the other
for interactivity
with the user using widgets/events.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.