If the example code doesn't work then the problem doesn't lie in the code.
I would be surprised if this would be caused by a library mismatch because I would expect errors in such case.
However I do see that you are linking to the static sfml libs but to the normal tgui lib (without ths '-s' postfix). The line should be 'libtgui-s.a'.
Edit: Also make sure nothing is being printed in the terminal.
I would be surprised if this would be caused by a library mismatch because I would expect errors in such case.
However I do see that you are linking to the static sfml libs but to the normal tgui lib (without ths '-s' postfix). The line should be 'libtgui-s.a'.
Edit: Also make sure nothing is being printed in the terminal.

.