FLTK wasm build

19 views
Skip to first unread message

danielc...@gmail.com

unread,
Jan 15, 2026, 11:33:59 PM (7 days ago) Jan 15
to fltk.general
Hi, 
Is there currently a standard or recommended method for compiling FLTK to WebAssembly? 
Thanks!

Albrecht Schlosser

unread,
Jan 16, 2026, 9:49:23 AM (6 days ago) Jan 16
to fltkg...@googlegroups.com
On 1/16/26 05:33 danielc...@gmail.com wrote:
> Is there currently a standard or recommended method for compiling FLTK
> to WebAssembly?

There's nothing official, but if I'm not totally wrong you might want to
take a look at
https://github.com/MoAlyousef/fltk_emscripten

danielc...@gmail.com

unread,
Jan 19, 2026, 7:00:01 AM (3 days ago) Jan 19
to fltk.general
Thanks. 
It would be great to see this included in FLTK 1.5 — an official, streamlined way to compile to WebAssembly would be a very welcome addition.

Daniel G.

unread,
Jan 19, 2026, 7:30:46 AM (3 days ago) Jan 19
to fltk.general
How cool, I would also like to see an official WASM build (:


> Is there currently a standard or recommended method for compiling FLTK
> to WebAssembly?
Some time ago (with fltk 1.3) I managed to make it run via microwindows (FLTK -> X11 -> microwindows X11 API -> Webbrowser)
https://github.com/ghaerr/microwindows

BR,
Daniel
Reply all
Reply to author
Forward
0 new messages