c - 从 eclipse autotools 插件执行 automake

标签 c eclipse autotools

我最近安装了 eclipse 的 autotools 插件。我为每个源子目录制作了 Makefile.am。我还在 configure.ac 文件中包含了 AM_INIT_MAKEFILE 宏。该插件确实 使用autoreconf -i。问题是我每次尝试构建时都会收到错误消息,
config.status:错误:找不到输入文件:'Makefile.in'
这表明 automake 从未运行过。有什么想法吗?

最佳答案

我犯了一个初学者的错误。我没有添加 automake 实际运行和生成 Makefile.in 所需的额外文件。还要运行任何 autotool(aclocal、automake、autoheader 等),转到 Project->Invoke Autotools->Invoke(autotool 的名称)

关于c - 从 eclipse autotools 插件执行 automake,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4251761/

相关文章:

javascript - jshint 忽略 :line with Eclipse issue

c - 你如何设置 autotools 默认 C++ 编译标志

c - 可变参数宏:粘贴 token 的扩展

c - 如何在 C 中将数组分成两部分(从开始到 x 和从 x 到结束)?

c - 如何使 C 中的方法链流畅?

java - 单击命令图标后如何显示命令的下拉菜单?

c++ - scanf 读取格式化输入

java - 为 Eclipse 项目设置日志记录配置文件

c - make 使用 autotools 给出 undefined reference 错误,而自定义 Makefile 工作正常

linux - 扩展应用核心