Setting up SFML with visual studios

Started by
13 comments, last by JWColeman 5 years, 4 months ago

i think this should work

 

main.cpp.sln

itachii

Advertisement

The problem is this, you've mixed up Linker->Input and C/C++ Preprocessor.

image.png.00a6719f11ca099c8e15af39ba37d22b.png

image.png.22f73cc649a68503332ba8bdd13253f8.png

This needs to be like my screen shot:

image.png.936356c824255c53829159c19dcaada3.png

Remove ONLY SFML_STATIC from Linker->Input FOR ALL CONFIGS

Then under C/C++ add it like above under All Configs.

Should fix your issue!

Programmer and 3D Artist

THANK YOU SO MUCH

thank you.PNG

itachii

So, first I added the executable directories:

 

image.png.69fee85e597943a15d52eae9dce6aebb.png

Then, the library Directories:

image.png.2970a5471fe8b49fa9ad34e85dea212c.png

Then, I added my Extra Includes:

image.png.8baa9298b60af3660209d0f94bd161ed.png

Then, added additional library directories:
image.png.15c66cf420e66106e11cb5696ee950a9.png

Note, the SFML folder must actually be in this location....

 

Then, I added my dependencies:

image.png.def68f79d9658478effba1bfdf1756bb.png

Note: -d for debug, and regular old sfml-audio.lib for release.

 

Done, I think? It was very recently I did this and I hated the process tbh.

 

 

This topic is closed to new replies.

Advertisement