SFML community forums

Help => Audio => Topic started by: aaron21 on February 09, 2022, 04:13:26 am

Title: msvcp140d.dll error in 64x vs2019 debug mode
Post by: aaron21 on February 09, 2022, 04:13:26 am
I get a system error

"msvcp140d.dll was not found. reinstalling may help ... '

I have followed the tutorials and I am testing the "sound.cpp" example in the SFML sdk.
It works great in release mode and x64.
It worked in the x86 ,both debug and release.
It only fails in the Debug x64 configuration.
Believe it or not, I need the debug x64 configuration in order to restore a project with SFML audio.

Here are the files I point to in vs2019 in the debug x64 configuration
sfml-graphics-d.lib
sfml-window-d.lib
sfml-system-d.lib
sfml-audio-d.lib

I'm using the 64bit library and include.

What do you think the problem might be?

Thanks.

**edit**
I moved the Vs2019 native msvcp140d.dll to the system32 directory(as a post recomended)
and the message changed to an address violation.




.
 
Title: Re: msvcp140d.dll error in 64x vs2019 debug mode
Post by: aaron21 on February 09, 2022, 05:09:57 am
I updated VS2019 and it fixed it.
I think the dll was corrupt.
I'll leave this here as a cautionary tale.