读书人

make: * No rule to make target `all

发布时间: 2012-12-26 14:39:28 作者: rapoo

make: *** No rule to make target `all'. Stop.

环境:Eclipse + CDT + Mingw

?

项目类型:C Project-->Makefile project-->Empty Project-->MinGW GCC

?

错误:

make all
make: *** No rule to make target `all'.? Stop.

?

解决方式:右键项目-->properties-C/C++ Build-->Builder settings

?????????????? 此时可看到Builder Type是不可选的,

?????????????? 且Makefile generation-->Generate makefiles automatically是未选中的

?????????????? 选中Generate makefiles automatically

?????????????? 此时Builder Type变成了可选项,选择internal builder

?????????????? 然后提交

?

执行项目,如果再出现Launch failed. Binary not found.错误,刷新下项目就好了,或者Project-->Build All

?

1 楼 MM_zhao 2012-03-17 Generate makefiles automatically不可选,怎么办呢

读书人网 >编程

热点推荐