[fpc-pascal] Bindings for FLTK - testers needed
Dibo
dibo20 at wp.pl
Thu Jun 25 09:01:41 CEST 2026
> FPC does not really support linking to C++ libraries. The usual
> mechanism is
> to write a C library that sits between FPC/C++, which handles
> initialization.
>
> Probably there will be other initialization routines that must be called,
> you will likely discover them one by one, whenever a new widget is
> used that
> needs one.
>
> Michael.
In fact, FLTK and CLTK are written specifically for static linking for
bindings (licence allow that), they solved "Static Initialization Order
Fiasco" in the code
More information about the fpc-pascal
mailing list