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

Author Topic: Cannot Open File sfml-graphics-2-d.dll  (Read 752 times)

0 Members and 1 Guest are viewing this topic.

Sean Mulligan

  • Newbie
  • *
  • Posts: 16
    • View Profile
Cannot Open File sfml-graphics-2-d.dll
« on: May 14, 2023, 06:49:35 am »
Hello, I am trying to link SFML dynamically for Visual Studio's debug mode. I downloaded the 32bit version of SFML 2.5.1 and am running with the correct version on Visual Studio. The dll file exists and is included in additional dependencies, and I have set everything up correctly following many tutorials to make sure that it was correct. Thanks for your help, and if this is Exploiter I would like to like to give you extra thanks for replying to all my petty questions.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10822
    • View Profile
    • development blog
    • Email
Re: Cannot Open File sfml-graphics-2-d.dll
« Reply #1 on: May 14, 2023, 03:41:53 pm »
Someone said my name? ;D

The dll file exists and is included in additional dependencies
I hope that means, that you linked the *.lib files and not the *.dll files in the additional dependencies, right?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Sean Mulligan

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Cannot Open File sfml-graphics-2-d.dll
« Reply #2 on: May 14, 2023, 09:18:35 pm »
Looks like it fixed the problems. In additional dependencies I put sfml-graphis-s-d.lib not sfml-graphics-2-d.dll, that was the mistake. Now I debugged to find that I completely screwed up how I was coding my GUI library before, so I learnt smart pointers to be able to work around inheritance issues, one step closer to completion :)