【发布时间】:2019-01-26 04:45:22
【问题描述】:
我安装了适用于 Windows 的 Git(便携式版本)并将 "C:/Program Files/Git/bin" 添加到我的系统路径变量中。当我这样做时,它弄乱了我从 Mingw-w64 安装的制作。
当我运行命令来构建我的项目 (make all) 时,我收到此错误:
process_begin: CreateProcess(NULL, echo compiling src/prototype-main.cpp, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [make/targets.make:40: src/prototype-main.o] Error 2
当我从我的路径变量中删除它时,它又可以正常工作了。那是怎么回事? "Git/bin" 目录中的唯一文件是:
bash.exe
git.exe
sh.exe
【问题讨论】: