SFML community forums

Help => General => Topic started by: DawningReality on December 13, 2021, 05:18:54 am

Title: Link cannot open file 'sfml-graphics-d-3.lib'
Post by: DawningReality 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

Title: Re: Link cannot open file 'sfml-graphics-d-3.lib'
Post by: eXpl0it3r 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.