Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Configure SFML inside project directory so you won't have to configure it again.  (Read 1048 times)

0 Members and 1 Guest are viewing this topic.

Themeiscool

  • Newbie
  • *
  • Posts: 1
    • View Profile
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!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
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).
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/