发布寻找 MSVCR110d.dll 的应用程序 [英] Release Application looking for MSVCR110d.dll

查看:24
本文介绍了发布寻找 MSVCR110d.dll 的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用 Visual Studio 2012 构建了一个 C++ 应用程序.我试图让它在另一台没有安装 VS2012 的机器上运行,但它无法运行.它一直在寻找 msvcr110d.dll(不是 msvcr110.dll),我已经在发布模式下构建了应用程序,并且我已经为多线程 dll (/MD) 设置了我的运行时库(尽管我已经尝试了所有选项,但没有有用).我不知道为什么这不运行.目标机器确实安装了可再发行组件.有什么建议吗?

I've built a c++ application with Visual Studio 2012. I've tried to get it to run on another machine without VS2012 installed but it will not run. It keeps looking for msvcr110d.dll (not msvcr110.dll), I have built the application in release mode, and I have my runtime library set for multi-threaded dll (/MD) (although I have tried all of the options with no avail). I have no idea why this isn't running. The target machine does have the redistributable installed. Any suggestions?

推荐答案

确保不仅您正在制作的解决方案是使用发布模式配置构建的,而且所有依赖项也都使用非调试 DLL.正如您所写,您正在使用导入的库 (freeglut),因此也请检查这些库.由于 freeglut 是开源的,您可能也想从头开始构建它(使用发布模式),而不是使用预先构建的 DLL.

Make sure that not only the solution you're making is built using Release mode configurations, but all dependencies are also using the non-debug DLLs. As you've written you are using imported libraries (freeglut), so check those too. Since freeglut is open-source you might want to built it from scratch too (using release mode), instead of using a pre-built DLL.

这篇关于发布寻找 MSVCR110d.dll 的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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