一、使用KDevelop的步骤
1.新建一个simple hello world program工程
2.写代码
3.Build->Run Automake & friends
4.Build->Run Configure
5.Build->Compile File
6.Build->Build Project
7.Build->Execute Program
二、问题总结
时运行Build->Compile File时提示如下:
../libtool: line 818: X--tag=CC: command not found
../libtool: line 851: libtool: ignoring unknown tag : command not found
../libtool: line 818: X--mode=compile: command not found
../libtool: line 985: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 986: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1129: Xgcc: command not found
../libtool: line 1129: X-DHAVE_CONFIG_H: command not found
../libtool: line 1129: X-I.: command not found
../libtool: line 1129: X-I/home/belial/Hello/src: No such file or directory
../libtool: line 1129: X-I..: command not found
../libtool: line 1129: X-O0: command not found
../libtool: line 1129: X-g3: command not found
../libtool: line 1129: X-MT: command not found
../libtool: line 1129: Xhello.lo: command not found
../libtool: line 1129: X-MD: command not found
../libtool: line 1129: X-MP: command not found
../libtool: line 1129: X-MF: command not found
../libtool: line 1129: X.deps/hello.Tpo: No such file or directory
../libtool: line 1129: X-c: command not found
../libtool: line 1181: Xhello.lo: command not found
../libtool: line 1186: libtool: compile: cannot determine name of library object from `': command not found
make: *** [hello.lo] Error 1
*** 退出状态:2 ***
解决方法:
原因:由于新版的libtool的bug引起,在新利得管理中uninstall libtool2.5.*再下载libtool_1.5.26安装就可以了。
下载地下:http://ftp.sjtu.edu.cn/ubuntu/pool/main/libt/libtool/libtool_1.5.26-1ubuntu1_i386.deb
三、调试
Debug->start [F9]
1.新建一个simple hello world program工程
2.写代码
3.Build->Run Automake & friends
4.Build->Run Configure
5.Build->Compile File
6.Build->Build Project
7.Build->Execute Program
二、问题总结
时运行Build->Compile File时提示如下:
引用
../libtool: line 818: X--tag=CC: command not found
../libtool: line 851: libtool: ignoring unknown tag : command not found
../libtool: line 818: X--mode=compile: command not found
../libtool: line 985: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 986: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1129: Xgcc: command not found
../libtool: line 1129: X-DHAVE_CONFIG_H: command not found
../libtool: line 1129: X-I.: command not found
../libtool: line 1129: X-I/home/belial/Hello/src: No such file or directory
../libtool: line 1129: X-I..: command not found
../libtool: line 1129: X-O0: command not found
../libtool: line 1129: X-g3: command not found
../libtool: line 1129: X-MT: command not found
../libtool: line 1129: Xhello.lo: command not found
../libtool: line 1129: X-MD: command not found
../libtool: line 1129: X-MP: command not found
../libtool: line 1129: X-MF: command not found
../libtool: line 1129: X.deps/hello.Tpo: No such file or directory
../libtool: line 1129: X-c: command not found
../libtool: line 1181: Xhello.lo: command not found
../libtool: line 1186: libtool: compile: cannot determine name of library object from `': command not found
make: *** [hello.lo] Error 1
*** 退出状态:2 ***
解决方法:
原因:由于新版的libtool的bug引起,在新利得管理中uninstall libtool2.5.*再下载libtool_1.5.26安装就可以了。
下载地下:http://ftp.sjtu.edu.cn/ubuntu/pool/main/libt/libtool/libtool_1.5.26-1ubuntu1_i386.deb
三、调试
Debug->start [F9]