开发者

Build error with VC6

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开发者_JAVA技巧:\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.


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.


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.


you may be deleted your environment variable


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜