|
|
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:
On 1/3/22 6:18 AM, ed.vi...@gmail.com wrote:
Hello
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.
--
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/1fa273b1-9592-46e1-8c6d-f8c91853d8bdn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |