简体   繁体   English

从Eclipse Autotools插件执行自动制作

[英]Execute automake from eclipse autotools plugin

I recently installed the autotools plugin for eclipse. 我最近为eclipse安装了autotools插件。 I made the Makefile.am for each source subdirectory. 我为每个源子目录制作了Makefile.am。 I also included the AM_INIT_MAKEFILE macro in the configure.ac file. 我还在configure.ac文件中包含了AM_INIT_MAKEFILE宏。 The plugin DOES use autoreconf -i . 插件确实使用autoreconf -i The problem is that I get an error anytime I try to build that says, 问题是,每次尝试构建时都会出现错误消息,
config.status: error: cannot find input file: 'Makefile.in'
Which indicates that automake was never ran. 这表明自动制作从未执行过。 Any ideas? 有任何想法吗?

I made a beginner's mistake. 我犯了一个初学者的错误。 I didn't add the extra files automake needs to actually function and make the Makefile.in. 我没有添加automake实际运行和制作Makefile.in所需的额外文件。 Also to run any autotool (aclocal, automake, autoheader, etc.) go to Project->Invoke Autotools->Invoke (name of autotool) 同样要运行任何自动工具(aclocal,automake,autoheader等),请转到“项目”->“调用自动工具”->“调用”(自动工具的名称)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM