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

Author Topic: Linker cannot open sfml-system-d-3.lib file.  (Read 1240 times)

0 Members and 1 Guest are viewing this topic.

Zerst18

  • Newbie
  • *
  • Posts: 1
    • View Profile
Linker cannot open sfml-system-d-3.lib file.
« on: May 02, 2025, 05:43:53 am »
Hello, everyone. Lately, I have been trying to setup SFML. After following the tutorial, https://www.sfml-dev.org/tutorials/3.0/getting-started/visual-studio/, and correctly linking everything and setting it all up, I tried to run the example code listed in the tutorial, however, I got the error: cannot open file 'sfml-system-d-3.lib'. I could not find any other articles on why this issue occurs or how to fix it. This is probably some beginner mistake, but all help is appreciated.

Thanks.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11193
    • View Profile
    • development blog
    • Email
Re: Linker cannot open sfml-system-d-3.lib file.
« Reply #1 on: May 02, 2025, 08:01:22 am »
If you check the tutorial again, you'll see that it should be sfml-system-d.lib without the -3. Only the DLL itself will have the -3.
Official FAQ: https://www.sfml-dev.org/faq/
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything