SFML community forums

Help => General => Topic started by: Themeiscool on February 20, 2022, 04:43:59 pm

Title: Configure SFML inside project directory so you won't have to configure it again.
Post by: Themeiscool on February 20, 2022, 04:43:59 pm
So I've made this project using SFML and VS. Now when I copy my project to a usb and try running it on a different computer, I have to reconfigure SFML for the project in that computer. This is because the SFML bin and library folders were stored in different locations when making the projects. Is there a way to put the SFML bin and library folders inside the project directory so that the solution would automatically recognize them even after moving the project directory as a whole?

Thanks!
Title: Re: Configure SFML inside project directory so you won't have to configure it again.
Post by: eXpl0it3r on February 24, 2022, 07:25:00 pm
Sure, you can for example create a directory called extlibs in the project root and then copy the SFML libraries and headers into there, and then reconfigure the include and library paths (with relative paths).