错误 - 应用程序无法启动,因为其并行配置不正确
我在 Visual studio 2008 上构建的 exe 在我的开发系统上运行,但在其他系统上它给出错误“应用程序无法启动,因为它的并行配置不正确。请...”exe 处于发布模式并且我已经安装了 VC 可再发行组件。
使用 dumpbin /dependents 命令我发现它与其他 dll 一起也依赖于 msvcr90d.dll 我认为这可能是我收到此错误的原因。在项目属性 - cc++ - 代码生成 - 运行时库中,我选择了多线程 dll (/MD)
关于如何删除此依赖项或最终如何修复错误有什么建议吗?
谢谢,普拉迪普
My exe built on Visual studio 2008 runs on my development system but on other systems it gives the error "The application has failed to start because its side-by-side configuration is incorrect. please..." The exe is in release mode and I have installed the VC redistributable.
Using dumpbin /dependents command I see that it along with other dlls it is also dependent on msvcr90d.dll I think this could be the reason I am getting this error. In project properties - cc++- code generation - runtime library i have selected MultiThreaded dll (/MD)
Any suggestions on how to remove this dependency or finally how to fix the error?
Thanks,Pradeep
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能已使用“调试”设置编译了应用程序,这会添加对调试 C++ 运行时的依赖项,而其他系统上不会存在该依赖项。如果您想依赖于发布版 C++ 运行时,则需要编译为“发布版”。发布运行时可能存在也可能不存在于其他系统上,因此它必须与您的程序捆绑在一起。您可以在 Visual Studio 安装目录中的“redist.txt”文件中了解更多相关信息。
You might have compiled your app using "Debug" settings, which adds a dependency on the debug C++ runtime, which wouldn't be present on other systems. You want to compile as "Release" if you want to take a dependency on the release C++ runtime. The release runtime may nor may not be present on other systems, so it must be bundled with your program. You can read more about that in the "redist.txt" file located in the Visual Studio installation directory.