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

Author Topic: msvcp140d.dll error in 64x vs2019 debug mode  (Read 1185 times)

0 Members and 1 Guest are viewing this topic.

aaron21

  • Newbie
  • *
  • Posts: 2
    • View Profile
msvcp140d.dll error in 64x vs2019 debug mode
« 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.




.
 
« Last Edit: February 09, 2022, 04:33:59 am by aaron21 »

aaron21

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: msvcp140d.dll error in 64x vs2019 debug mode
« Reply #1 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.