Hi texus,
I found this out, because I forgot to tell the Linux loader "ld" where the SFML dynamic libraries where. So I got an error message when trying to run my program.
I changed line 35 in the cmake CMakeLists.txt file, as seen below. But perhaps this wasn't the correct way?
Best Regards,
Ingar
PS: Thanks for your effort. You are really helpful

# Add an option for choosing the build type (shared or static)
if(NOT TGUI_OS_IOS AND NOT TGUI_OS_ANDROID)
# tgui_set_option(TGUI_SHARED_LIBS TRUE BOOL "TRUE to build TGUI as a shared library, FALSE to build it as a static library")
tgui_set_option(TGUI_SHARED_LIBS FALSE BOOL "TRUE to build TGUI as a shared library, FALSE to build it as a static library")
else()
if(TGUI_OS_IOS)
set(TGUI_SHARED_LIBS FALSE)
elseif(TGUI_OS_ANDROID)
set(TGUI_SHARED_LIBS TRUE)
endif()
endif()
How did you check which libraries TGUI depends on (to exclude that you are linking to the dynamic libraries yourself, and more importantly so that I can try it here)?
TGUI is supposed to always link in the same way as SFML unless you manually specify otherwise. Did you change some cmake flags? Are you adding defines other than SFML_STATIC in your project?