Inspecting my CMakeLists.txt I found the reason of the bug. I used FLTK_CONFIG_SCRIPT to find
the necessary libraries. LINUX and WIN10 never complained.
Now I simply use FLTK_LIBRARY:
– FLTK_LIBRARY ==> /usr/local/fltk14/lib64/libfltk_images.so;/usr/local/fltk14/lib64/libfltk_forms.so;/usr/local/fltk14/lib64/libfltk.so;/usr/lib64/libSM.so;/usr/lib64/libICE.so;/usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libm.so
Thanks for your help.
winfried