相关疑难解决方法(0)

Eclipse CDT clean 在 Windows 上失败:尝试运行 rm -rf

我在 Windows 7 上使用带有 CDT 的 Juno。当我尝试使用 MinGW 提供的内部构建器或 make 清理项目时,Eclipse 运行 *X 命令 rm -rf 并且清理操作失败。

从控制台使用外部构建器 (mingw32-make) 进行日志记录:

18:08:07 **** Clean-only build of configuration Debug for project threads_example ****
mingw32-make clean 
rm -rf  ./main.o  ./main.d  threads_example
process_begin: CreateProcess(NULL, rm -rf ./main.o ./main.d threads_example, ...) failed.
make (e=2): The system cannot find the file specified.

mingw32-make: [clean] Error 2 (ignored)
' '

18:08:07 Build Finished (took 137ms)
Run Code Online (Sandbox Code Playgroud)

使用内部构建器记录:

10:39:35 **** Clean-only build of configuration Debug for project threads_example **** …
Run Code Online (Sandbox Code Playgroud)

eclipse windows eclipse-cdt

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

eclipse ×1

eclipse-cdt ×1

windows ×1