Graphic programming

Pages: 1234
Follow https://www.sfml-dev.org/tutorials/2.5/start-vc.php

The only difference is that where the tutorial says,
"The path to the SFML headers (<sfml-install-path>/include) to C/C++ » General » Additional Include Directories", this is now located in:
Properties for your project --> VC++ Directories --> Include Directories
But just as the tutorial says, you would put the path to the /include folder of the SFML package you downloaded.

e.g.
C:\libraries\SFML-2.5.1-windows-vc15-32-bit\SFML-2.5.1\include
Last edited on
Ok If I say something wrong i’m sorry but I just dont’t really understand and I don’t know why.

For the SFML package I downloaded, I unzip it, then put it all in the /include folder?
You unzip the SFML package to some known location. Do not modify anything in these unzipped files, but you do need to find where the folder called 'include' is.

Your individual project that you set up in Visual Studio can be in a completely different part of your file system. Just make a Visual studio project wherever you normally make projects.

Once you create your Visual Studio solution/project, you go to the properties for your project --> Configuration Properties --> VC++ Directories --> Include Directories. Click on the Include Directories row. Then, on the right-hand side of the Include Directories row, click the dropdown menu that appears, and click <Edit...>.

Type or paste the exact path to the 'include' directory inside the unzipped SFML package you downloaded. Then click OK.
For example, C:\my_libraries\SFML-2.5.1\include

Edit: I skimmed through the following youtube video.
I think it shows the correct steps, check it out.
https://www.youtube.com/watch?v=xDg27l1hZ8w
Last edited on
Alr this makes much more sense, i’ll try it out
Registered users can post here. Sign in or register to post.
Pages: 1234