eXpl0it3r / Schiffbruch

Schiffbruch is a mix of building, strategy and adventure and gets played with a two-dimensional view.
Other
74 stars 11 forks source link

Schiffbruch fails to link with SFML #2

Closed FSMaxB closed 7 years ago

FSMaxB commented 7 years ago

I've tried with VS2015 and 2017 on Windows 7 and Windows 10 and I don't seem to get Schiffbruch compiled.

Well actually it compiles, but the linker complains, see the attached logfile.

build.txt

eXpl0it3r commented 7 years ago

You need to build SFML with the SFML_USE_STATIC_STD_LIBS flag set in CMake. That way SFML will be built with the MT / MTd flag.

Alternatively you can change the project settings to use MD / MDd flags.

FSMaxB commented 7 years ago

Thanks, manually building SFML with SFML_USE_STATIC_STD_LIBS worked. Now I can continue working on the JSON export.

eXpl0it3r commented 7 years ago

Nice! Keep me posted! 😊