在尝试运行cocos2dx Debug.win32时缺少appcrt140d.dll。在哪里得到的dll? [英] Missing appcrt140d.dll while trying to run cocos2dx Debug.win32. Where to get the dll?

查看:863
本文介绍了在尝试运行cocos2dx Debug.win32时缺少appcrt140d.dll。在哪里得到的dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在cocos2dx的游戏项目上合作。我不编码,而是在Cocos Studio中的场景上工作。当我试图运行.exe build in proj.win32 / Debug.win32它开始抛出关于缺少.dll的错误。我已经下载他们,因为它是请求他们(msvcp140d.dll,vcruntime140d.dll),但我找不到appcrt140d.dll在任何地方。

I cooperate on a game project in cocos2dx. I do not code, rather work on scenes in Cocos Studio. When I've tried to run .exe build in proj.win32/Debug.win32 it started to throw errors about missing .dll. I've downloaded them as it was requesting them (msvcp140d.dll, vcruntime140d.dll), but I cannot find appcrt140d.dll anywhere.

你会推荐我

推荐答案

我试图安装C ++ Redistributables。 >

d 后缀意味着这是一个 debug 版本的DLL。这是有道理的 - 就像你说的,它被编译为一个Debug构建,它将使用一个特殊的C运行库的调试版本,旨在帮助您捕获错误。

The d suffix there means that this is a debug version of the DLL. Which makes sense—like you said, it was compiled as a "Debug" build, which is going to use a special debugging version of the C runtime library designed to help you catch errors.

您不应该释放应用程序的调试版本以供一般使用。事实上,微软甚至没有使其运行时DLL的调试版本可用。它们被认为是不可再分发。这就是为什么你下载并安装C ++ Redistributables时没有得到它们。所有你得到的DLL的发行版本。

You aren't supposed to release debugging versions of your applications for general use. In fact, Microsoft doesn't even make the debug versions of its runtime DLLs available. They are considered "non-redistributable." That's why you aren't getting them when you download and install the C++ Redistributables. All you get are the release versions of the DLLs.

如果你不是一个程序员,你可能不会发现一个调试生成特别有用。错误消息不会对你有任何意义,额外的错误检查代码只会减慢事情。除非你的朋友程序员已经特意要求你帮助他调试程序,否则你应该要求他发布一个版本。这样,您需要安装的是C ++ Redistributable的相应版本(版本14→ VS 2015)。

If you are not a programmer, you will probably not find a debugging build particularly helpful. The error messages won't mean anything to you, and the extra error-checking code will just slow things down. Unless your friend the programmer has specifically asked you to help him debug his program, then you should ask him for a release build. That way, all you'll need to install is the appropriate version of the C++ Redistributable (version 14 → VS 2015).

如果要运行调试生成,您将需要从您的朋友处获取运行时DLL的不可重新分发的只调试版本。它们与Visual Studio一起安装。他应该知道在哪里找到他们。如果没有,请告诉他查看他的Visual Studio目录(在Program Files目录下),在 \VC\redist\Debug_NonRedist\ 。将所需的DLL复制到与EXE相同的目录,您就可以开始工作了。

If you want to run the debugging build, you'll need to obtain the non-redistributable debug-only versions of the runtime DLLs from your friend. They are installed with Visual Studio. He should know where to find them. If not, tell him to look in his Visual Studio directory (under the Program Files directory), in \VC\redist\Debug_NonRedist\. Copy the required DLLs to the same directory as the EXE and you'll be in business.

这篇关于在尝试运行cocos2dx Debug.win32时缺少appcrt140d.dll。在哪里得到的dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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