If you compile sfml yourself then you will get a 'build' folder which contains a lib folder with the compiled libraries.
This lib folder has to be copied to the root folder of sfml (next to the include folder).
When compiling tgui, you need to set SFML_ROOT to this root folder, which has to contain these 'include' and 'lib' folders, as the cmake error says.
You can't mix those.
This lib folder has to be copied to the root folder of sfml (next to the include folder).
When compiling tgui, you need to set SFML_ROOT to this root folder, which has to contain these 'include' and 'lib' folders, as the cmake error says.
QuoteDoes tgui need static or dynamic libs on SFML folder?When building statically you need the static libs and when building dynamic you need the dynamic libs.
You can't mix those.