The first image shows you are running in a directory called debug.
The second image shows you are using the sfml-graphics-2.dll library, which is a release build.
Release and debug components shouldn't be mixed (they can be, but you need to do it carefully and know where it will break). If you are doing a debug build of your project, you should use a debug build of SFML.
(In particular, passing std::strings between debug and release will break, the string class has slightly different internal formats depending on build type. Your filename is showing as corrupt, so that was my first clue)