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

Author Topic: Link cannot open file 'sfml-graphics-d-3.lib'  (Read 2212 times)

0 Members and 1 Guest are viewing this topic.

DawningReality

  • Newbie
  • *
  • Posts: 1
    • View Profile
Link cannot open file 'sfml-graphics-d-3.lib'
« on: December 13, 2021, 05:18:54 am »
Hi, I'm a newcomer to SFML and haven't used C++ for a long time (I prefer to use C# and Python).

I am running Visual Studio 2019 version 16.11.7 , but when I try compiling my project with SFML 2.5.1
I get "LNK1104" error "cannot open file 'sfml-graphics-d-3.lib'".

I guessed that SFML 2.5.1 requires VS2019 version 15, so I have downloaded the Snapshot version "Windows-vc16-32.zip", however, I get the same error.

I notice that my C:\SFML\lib directory has a '''sfml-graphics-d.lib" file but  doesn't have an "sfml-graphics-d-3.lib" file or any others with a "-3" suffix, so I suppose that it's still in the works or am I missing something?

I think (?) I've followed the installation directions correctly, so any help would be most gratefully received.

Cheers from down under,
Mark


eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10226
    • View Profile
    • development blog
    • Email
Re: Link cannot open file 'sfml-graphics-d-3.lib'
« Reply #1 on: December 13, 2021, 08:38:23 am »
The master branch is currently undergoing a lot of change and is already pointing to SFML 3.
For SFML 2.5.1 and VS 2019, you can just use the VS 2017 builds, they are compatible or build from source.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/