VC6构建错误

发布于 2024-08-20 02:42:35 字数 311 浏览 11 评论 0原文

当我在 VC6 IDE 中构建应用程序时,出现此错误:

--------------------Configuration: all - Win32 PRO Unicode Release--------------------
The system cannot find the file specified.
Error executing c:\windows\system32\cmd.exe.

all.exe - 1 error(s), 0 warning(s)

我没有任何自定义构建命令,并且此错误仅针对此特定项目。请帮忙。

When I build my application in VC6 IDE, I get this error:

--------------------Configuration: all - Win32 PRO Unicode Release--------------------
The system cannot find the file specified.
Error executing c:\windows\system32\cmd.exe.

all.exe - 1 error(s), 0 warning(s)

I don't have any custom build commands, and this error is particular to this specific project only. Please help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

北方的巷 2024-08-27 02:42:35

构建错误是由于我们的 VC dsp 文件中的子项目 dsp 之一被卸载所致。
我们卸载了构建不需要的子项目。但我们没有将其从项目 dsp 中删除。
(实际上我们有一系列子项目 dsp 文件要与主 dsp 文件一起构建)

一旦再次加载并构建,错误就消失了。感谢您的建议和回答。
没明白原因,但解决了问题。

The Build error was due to the unload of one of our sub-project dsp in our VC dsp file.
We unloaded a sub project that was not required for build. but we didnt remove it from project dsp.
( actually we have series of sub - project dsp files to be built with the main dsp file)

Once it was loaded and built again, the error vanished. Thanks for your suggestions and answers.
Didnt get the reason, but it solved the problem.

巴黎夜雨 2024-08-27 02:42:35

您的应用程序依赖项之一中可能有自定义构建命令。

检查所有内容,并在每个有任何内容的内容中添加 ECHO ON 作为第一步。
然后,当您进行构建时,您将看到哪个命令失败的详细信息。

我遇到的最常见问题是当我尝试自动将头文件复制到公共位置时。我有时会弄错相对路径。将 DIR 添加到后期构建中
是显示您所在位置的简单方法,并且可以帮助纠正路径错误。

It is likely you have a custom build command in one of your applications dependencies.

Review them all, and in each one that has anything, add an ECHO ON as the first step.
Then when you do your build, you will see the details of what command is failing.

The most common problem I have, is when i try to copy header files to a common location automatically. I sometimes get the relative path wrong. Adding a DIR to the post build
is an easy way to show where you are, and can help correct path errors.

南城追梦 2024-08-27 02:42:35

您可能会删除您的环境变量

you may be deleted your environment variable

却一份温柔 2024-08-27 02:42:35

我将构建模式从 Win32 模拟更改为 Win32 调试,然后单击“重新构建全部”,它成功了。

I changed the build mode from from Win32 Simulation to Win32 Debug and clicked on "Rebuild All" and it worked.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文