首页| 论坛| 消息

标题:【提问】KDevelop 编译QT程序出错
作者:hantong
日期:2005-12-24 15:39
内容:

RedHat9.0 KDevelop 是系统自带的.,,在编译最简单的QT程序时出现以下错误:
......
main.cpp:7: `hantong' undeclared (first use this function)
main.cpp:7: (Each undeclared identifier is reported only once for each function
it appears in.)
main.cpp:7: parse error before `;' token
main.cpp:8: `w' undeclared (first use this function)
gmake[2]: *** Error 1
gmake[2]: Leaving directory `/home/qt/kd/qqq/qqq'
gmake[1]: *** Error 1
gmake[1]: Leaving directory `/home/qt/kd/qqq'
gmake: *** Error 2
请问怎样解决!!谢谢!!!急!!!
Email:ywdx-521@163.com
QQ:187398467


#1 [XChinux 12-24 17:03]
不用怎么解决了,一看就是你的简单的语法错误。
你的源代码里面有语法错误。
#2 [thisisll 12-29 13:32]
我也碰到了类似的问题
我是用KDevelop生成的代码直接编译
也是一堆错误
#3 [XChinux 12-29 14:09]
看你的Qt版本对不对,还有,可能是你系统上还有什么东西没装。

回复 发表
主题 版块