MSVCR90D.dll not found in debug mode with Visual C++ 2008

前端 未结 10 873
萌比男神i
萌比男神i 2020-12-08 21:34

I have a problem with Visual C++ 2008. I have installed opencv and I\'ve created a new program and I build it with no errors. However, it complains about not finding MSVCR90

相关标签:
10条回答
  • 2020-12-08 22:29

    Troublehooting DLL problems is a lot easier with Dependency Walker . It allows you to profile your application, catching both DLLs loaded at startup and DLLs loaded later. It will spit out a lot of messages related to the loading of DLLs, or the failure to load them. It also understands SxS loading of DLLs.

    You can pass an EXE as a argument to Depends.EXE, and it will profile that app. This can be combined with most IDEs. For instance, in Visual Studio you can set the "Command for Debugging". By default, that's your own EXE. Change it to depends.EXE, and set the command arguments to (at least) /pb your.debug.exe.

    0 讨论(0)
  • 2020-12-08 22:31

    Had the same problem although another VC9.0 project did well. So I compared both project settings. The crucial difference was under 'Project Properties' -> 'Configuration Properties' -> 'Manifest Tool' -> 'Input and Output' -> 'Embed Manifest'. This option must be set to YES.

    0 讨论(0)
  • 2020-12-08 22:31

    Recompile your project in VC++ 2008 using function File->New->Project From Existing Code. It helped myself, probably it will help you. Regards.

    0 讨论(0)
  • 2020-12-08 22:31

    I can't give a definitive solution, but here are some helpful links:

    • David Lenihan's blog on WinSxS
    • Side-by-side assemblies
    • Troubleshooting C/C++ Isolated Applications and Side-by-side Assemblies
    • Assembly Searching Sequence

    And of course, there's a lot more on MSDN if you follow the links.

    0 讨论(0)
提交回复
热议问题