KDevelop与libtool的问题

来源:互联网 发布:java求最小素数 编辑:程序博客网 时间:2024/05/19 14:02

今天简单尝试了一下KDevelop这个IDE,只想试一下"Hello World",在新建完一个输出hello world的工程后,发现编译不过:

 

../libtool: line 1146: X.deps/mytest.Tpo: No such file or directory

 

到网上搜索了一下,看了下解决方法,因此把它记录下来:

 

1.找到libtool2.2.6 ltmain.sh :一般在/usr/share/libtool/config 目录中

2.把该ltmain.sh拷贝到自己所建的工程目录下,覆盖原有的ltmain.sh

3.如果这时已有debug目录了,也得把debug目录下的ltmian.sh覆盖

4.重新automake  configure 等等就可以了

原创粉丝点击