Jump to content
  • Advertisement
itachii

Setting up SFML with visual studios

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!