ghaerr commented on issue #18566:
URL: https://github.com/apache/nuttx/issues/18566#issuecomment-5153779828

   @ppisa, I agree with all your interesting points.
   
   > the single address space case it could be uses-full test even that option 
of single application combined with server with direct calls.
   
   That should be pretty straightforward using -DNONETWORK=1 with not much work.
   
   > If for example https://www.fltk.org/ could be used such way on NuttX, then 
it could be quite powerful environment.
   
   Given that FLTK sits on top of the libX11 client library and Nano-X has a 
working X11 library for FLTK, getting FLTK applications running on NuttX either 
linked directly with the server (NONETWORK), or using @Acfboy's latest 
MULTITHREAD_SERVER work should be quite doable for simpler applications. FLTK 
is C++, so there may be additional complications there. More complex FLTK 
applications may use  underlying X11 extensions, and the Nano-X X11 library 
currently only implements a subset of all X11 extensions.
   
   Using FLTK and/or just X11 for applications development, while outdated, has 
some unique advantages with Nano-X, in that the applications can be developed 
on the desktop using an X11 server, and the unmodified application binaries can 
also be run and tested on top of Nano-X by swapping the libX11 dynamic library 
with Nano-X's X11 dynamic library - no recompilation required. I'm not sure how 
this might relate to NuttX graphics application development practices though. 
Also, I recently found an active [X11 compatibility library on top of 
SDL](https://github.com/sysprog21/libx11-compat) that could contain usable 
ideas for any X11 library code that is not yet implemented.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to