未找到 MSVCR90.DLL [英] MSVCR90.DLL was not found

查看:25
本文介绍了未找到 MSVCR90.DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道已经有人问过这样的问题了,但情况有点不同,关于那个问题的所有答案都不适合我.

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.

我正在尝试在 VS2008 中编译一些 C 代码,但它没有创建一个 exe.此外,当我尝试使用 f5 运行它时,我得到:

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:

此应用程序启动失败因为没有找到 MSVCR90.DLL.

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

我做了一些谷歌搜索,它说这是因为我的 c++ 可再发行包没有安装.所以我安装了它,重新启动了一切并再次尝试.但是,唉,我仍然遇到同样的错误.有没有人知道如何解决这个问题?

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?

推荐答案

这听起来像是你的 VS2008 安装有问题,或者你的 DLL 搜索路径有问题.MSVCR90.DLL 是在你安装 VS2008 时安装的,你不需要安装任何额外的可再发行包.

It sounds like either a problem with your VS2008 installation, or something wrong with your DLL search path. MSVCR90.DLL is installed when you install VS2008, you shouldn't have to install any additional redistributable packages.

首先,我会检查您的 PATH 环境变量并确保其中没有会破坏某些条目的 gobbledydook,如果您在那里没有发现问题,那么我将卸载并重新安装 Visual Studio.

First I would check your PATH environment variable and make sure there is no gobbledydook in it that will break some of the entries, and if you don't find a problem there, then I would uninstall and reinstall Visual Studio.

您也可以尝试搜索 MSVCR90.DLL(以及其他类似的 DLL),并将它们移动到您的 Windows/System32 文件夹.

You could also try searching for MSVCR90.DLL (and other DLLs like it), and move them to your Windows/System32 folder.

如果您现在只想开始,您可以做的另一件事是将项目更改为静态链接到运行时库,然后它甚至不会尝试加载该 DLL.转到您的项目设置,配置属性-> C/C++-> 代码生成并将运行时库从多线程 DLL 更改为多线程(或任何不以 DLL 结尾的选项).

If you just want to get going now, another thing you could do is change your project to statically link to the runtime libraries, and then it wont even try to load that DLL. Go to your Project settings, Configuration Properties->C/C++->Code Generation and change Runtime Library from Multi-Threaded DLL to just Multi-Threaded (or any of the options that doesn't end with DLL).

这篇关于未找到 MSVCR90.DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆