1

我通过 Eclipse 中的安装软件选项安装了 CDT 包,之后,我在我的 Mac 上使用 Xcode 安装了命令行工具。我在 Mountain Lion 上运行 Eclipse Juno。

安装命令行工具后,我导出了路径:

导出 CC=/usr/bin/gcc 导出 CC=/usr/bin/g++

在 Eclipse 中,自动生成的 HelloWorld 可执行项目和自动工具出现此错误:

Error 127 occured while running autoreconf
make: *** No rule to make target 'all'.

根据我的发现,第二个与 g++ 有关,但我不确定问题是什么。

我会很感激任何帮助。谢谢。

4

1 回答 1

0

Hopefully you've installed the XCode command line tools. Also you might need to configure the project.

Ideally you invoke aclocal, automake --add-missing and then autoconf. Then run configure and make. You might need the -i option for autoconf.

于 2014-12-31T16:16:18.293 回答