首页| 论坛| 消息

标题:【求助】编译嵌入式qwt出错,特来求助!
作者:绘梦之卷
日期:2014-01-09 18:17
内容:

虚拟机下直接编译Qt-4.4.3为嵌入式开发用的库,最近在编译qwt-6.1,但是编译过程出现如下错误:

/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QLayout'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QFutureInterfaceBase'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QObject'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QFrame'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QPaintDevice'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QWidget'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QPaintEngine'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QPushButton'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QTextDocument'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QThread'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QScrollArea'
/work/rootfs/work/qwt-6.1/examples/../lib/libqwt.so: undefined reference to `typeinfo for QLayoutItem'
collect2: ld returned 1 exit status
make[2]: *** [../bin/animation] Error 1
make[2]: Leaving directory `/work/rootfs/work/qwt-6.1/examples/animation'
make[1]: *** Error 2
make[1]: Leaving directory `/work/rootfs/work/qwt-6.1/examples'
make: *** Error 2
特来求助,希望得到解答,谢谢!
P.S.makefile中也添加了-fno-rtti,但是没有效果。


#1 [ustc-luowei 04-23 16:26]
这个到底怎么解决呀,我也遇到同样的问题,qt4.4.3采用的是飞凌的资料,,,,,,求帮助,,,我的qq号2332808865希望作为高手的您给我帮助,,,谢谢
#2 [airqj 05-26 21:03]
没有在工程文件中添加库文件和库路径
#3 [jnny_cn 05-26 21:33]
没有在工程文件中添加库文件和库路径 +1
#4 [ustc-luowei 08-18 15:32]
这个问题最后到底是怎么解决的呀,,,,,我是一样的问题,但是还是没有得到解决,,,,,,,好长时间了哦

回复 发表
主题 版块