On Wed, Jul 03, 2024 at 12:01:47PM -0600, pastebin@gmx.com wrote:
Hi
a little contribution to your code in case someone wants to make a huge statically compiled version of the program :)
g++ -O2 test.cpp-static -o test /usr/local/lib/libfltk.a /usr/local/lib/libX11.a /usr/local/lib/libxcb.a /usr/local/lib/libXft.a /usr/local/lib/libfontconfig.a /lib/libdl.a /usr/local/lib/libXfixes.a /usr/local/lib/libXrender.a /usr/local/lib/libXcursor.a /usr/local/lib/libXinerama.a /usr/local/lib/libXext.a /usr/local/lib/libXau.a /usr/local/lib/libXdmcp.a /usr/local/lib/libfreetype.a /usr/local/lib/libexpat.a /usr/local/lib/libXrender.a /usr/local/lib/libX11.a /usr/local/lib/libXfixes.a /usr/local/lib/libpng.a /lib/libz.a /usr/local/lib/libharfbuzz.a /lib/libbz2.a /lib/libpthread.a
Thanks. A fix was provided by FLTK developer Albrecht Schlosser: https://github.com/fltk/fltk/issues/1004#issuecomment-2209144366 You can take the "branch-1.3" branch which also contains the fix (f34719). $ git clone https://github.com/fltk/fltk $ cd fltk $ git checkout branch-1.3 ... Can you check it solves your issue? They are waiting for confirmation to close the issue on their side. Best, Rodrigo.