|
|
On 3 Jan 2022, at 14:18, <ed.vigmond 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.
There’s generally no simple way to use stock fltk on a host without some form of window management system - under *nix that is some WM hosted on X11 at present (though Win32 and macOS hosts will usually use the host native WM systems rather than X11, of course, and future *nix systems may well use Wayland as the renderer along with some WM service...)
In the past, I’ve run fltk (and Fl_Gl_Window) on a vxWorks host with no WM running, but even there I was using X11 to get the basic windows up, and that was a heavily modified fltk build anyway...
With later fltk versions, and certainly with the 1.4 branch, the lowest-level driver support has been split out, to make it “easier” (at least in principle) to implement your own back-end, and hence to support the sort of thing you are proposing; but even there I imagine it’d be a fair chunk of work to do, and I don’t think anyone has ever tried quite what I think you are asking...
Of course, it’s entirely feasible I haven’t understood the question!
--
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/B69CD2DC-0F12-4B63-B334-BEF652D1549E%40gmail.com.
[ Direct Link to Message ] | |
|
| |