MSVCR90.DLL was not found

2019-01-23 06:06发布

I know a question like this was already asked, but the situation is a little different, and all the answers on that problem didn't work for me.

I'm trying to compile some C code in VS2008 and it doesn't create an exe. Also, when I try to run it with f5, I get:

This application has failed to start because MSVCR90.DLL was not found.

I did some googling and it said that this was because my c++ redistributable package wasnt installed. So I installed that, restarted everything and tried again. But alas, I still get the same error. Does anyone have any clue how to fix this?

7条回答
劫难
2楼-- · 2019-01-23 06:39

I have just been bitten by this and this page got me working again.

The key is to ignore MSVCRT and MSVCR90 libraries for the debug configuration. Set your linker -> Input -> Ignore Specific Library setting to include the following:

  • MSVCRT
  • MSVCR90
查看更多
登录 后发表回答