使用 Visual Studio 2005 的 C 编译错误

发布于 2024-10-07 16:44:30 字数 946 浏览 0 评论 0原文

尝试按照 http://code.google.com/p/gears 上指定的说明进行操作/wiki/BuildingGearsForWindows 我的尝试在编译阶段失败,并出现以下错误。

C:\SourceControl\GoogleGears\gears>make BROWSER=FF36 MODE=opt OS=win32
make prereqs    BROWSER=FF36
"mkdir" -p bin-opt/win32-i386/ff36
'"mkdir"' is not recognized as an internal or external command,
operable program or batch file.
make[1]: *** [bin-opt/win32-i386/ff36] Error 1
make: *** [default] Error 2

在此之前,我已经执行了以下命令并正确(我相信)替换了所需的路径。

"c:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" 
"c:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.cmd" 

set PATH=%PATH%;"C:\Python24";"C:\Program Files (x86)\Windows Installer XML v3";"C:\unix\usr\local\wbin"

make BROWSER=FF36 MODE=opt OS=win32

有人可以善意地指导我走向我可能做错的方向吗?

请客气,我以前从未写过一行 C 代码。

Attempting to follow the directions as specified on http://code.google.com/p/gears/wiki/BuildingGearsForWindows my attempts are failing at the compile stage with the following error.

C:\SourceControl\GoogleGears\gears>make BROWSER=FF36 MODE=opt OS=win32
make prereqs    BROWSER=FF36
"mkdir" -p bin-opt/win32-i386/ff36
'"mkdir"' is not recognized as an internal or external command,
operable program or batch file.
make[1]: *** [bin-opt/win32-i386/ff36] Error 1
make: *** [default] Error 2

Prior to this I have executed the following commands and correctly (I believe) substituted the paths required as such.

"c:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" 
"c:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.cmd" 

set PATH=%PATH%;"C:\Python24";"C:\Program Files (x86)\Windows Installer XML v3";"C:\unix\usr\local\wbin"

make BROWSER=FF36 MODE=opt OS=win32

Could anyone please be kind enough to guide me in the direction of what I might be doing incorrectly?

Please be kind, I have never written a single line of C code before.

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

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

发布评论

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

评论(1

欢烬 2024-10-14 16:44:30

复制自我的评论:

mkdir 是否在您的 PATH 中?

Copied from my comment:

Is mkdir in your PATH?

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