Thank you for your help.
I think the problem was because I used my own sfml libs instead of the ones provided for Tgui.
I do not try to cross-compile anymore, I just installed code blocks on Windows and installed tgui using the tutorial and it all works fine
I think the problem was because I used my own sfml libs instead of the ones provided for Tgui.
I do not try to cross-compile anymore, I just installed code blocks on Windows and installed tgui using the tutorial and it all works fine