Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schiffbruch fails to link with SFML #2

Closed
FSMaxB opened this issue Jun 26, 2017 · 3 comments
Closed

Schiffbruch fails to link with SFML #2

FSMaxB opened this issue Jun 26, 2017 · 3 comments

Comments

@FSMaxB
Copy link
Collaborator

FSMaxB commented Jun 26, 2017

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
Copy link
Owner

eXpl0it3r commented Jun 26, 2017

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
Copy link
Collaborator Author

FSMaxB commented Jun 27, 2017

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

@FSMaxB FSMaxB closed this as completed Jun 27, 2017
@eXpl0it3r
Copy link
Owner

Nice! Keep me posted! 😊

@eXpl0it3r eXpl0it3r added this to Backlog in Refactoring Jun 27, 2017
@eXpl0it3r eXpl0it3r moved this from Backlog to Done in Refactoring Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants