嵌入式爱好者

查看: 10738|回复: 7

[Linux] 【求助】qwt编译出现问题

[复制链接]
绘梦之卷 该用户已被删除
发表于 2014-1-9 11:08:59 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

153

主题

3910

帖子

4207

积分

AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证TCU通行证FCU1401通行证FCU1301通行证FCU11xx通行证

发表于 2014-1-9 17:36:05 | 显示全部楼层
lz可以把提示信息帖出来吗?
点评回复 支持 反对

使用道具 举报

14

主题

51

帖子

95

积分

发表于 2014-4-3 16:35:24 | 显示全部楼层
我也遇到了类似的问题root@forlinx-virtual-machine:~/2014040209# make
/witech/builddir/sdk/qtopiacore/target/bin/uic widget.ui -o ui_widget.h
arm-linux-g++ -c -fnp-rtti -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/witech/builddir/sdk/qtopiacore/target/mkspecs/qws/linux-arm-g++ -I. -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include -I/usr/local/qwt-6.0.2/include -I. -I. -o main.o main.cpp
cc1plus: error: unrecognized command line option "-fnp-rtti"
make: *** [main.o] Error 1
root@forlinx-virtual-machine:~/2014040209# gedit Makefile
root@forlinx-virtual-machine:~/2014040209# make
arm-linux-g++ -c -fno-rtti -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/witech/builddir/sdk/qtopiacore/target/mkspecs/qws/linux-arm-g++ -I. -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include -I/usr/local/qwt-6.0.2/include -I. -I. -o main.o main.cpp
arm-linux-g++ -c -fno-rtti -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/witech/builddir/sdk/qtopiacore/target/mkspecs/qws/linux-arm-g++ -I. -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include -I/usr/local/qwt-6.0.2/include -I. -I. -o widget.o widget.cpp
widget.cpp: In constructor 'Widget::Widget(QWidget*)':
widget.cpp:18: error: 'class Ui::Widget' has no member named 'qwtPlot'
widget.cpp:34: error: 'class Ui::Widget' has no member named 'qwtPlot'
widget.cpp:35: error: 'class Ui::Widget' has no member named 'qwtPlot'
make: *** [widget.o] Error 1
root@forlinx-virtual-machine:~/2014040209# make
/witech/builddir/sdk/qtopiacore/target/bin/uic widget.ui -o ui_widget.h
arm-linux-g++ -c -fno-rtti -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/witech/builddir/sdk/qtopiacore/target/mkspecs/qws/linux-arm-g++ -I. -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include -I/usr/local/qwt-6.0.2/include -I. -I. -o widget.o widget.cpp
/witech/builddir/sdk/qtopiacore/target/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/witech/builddir/sdk/qtopiacore/target/mkspecs/qws/linux-arm-g++ -I. -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include -I/usr/local/qwt-6.0.2/include -I. -I. widget.h -o moc_widget.cpp
arm-linux-g++ -c -fno-rtti -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/witech/builddir/sdk/qtopiacore/target/mkspecs/qws/linux-arm-g++ -I. -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtCore -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtNetwork -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include/QtGui -I/witech/builddir/sdk/qtopiacore/target/include -I/usr/local/qwt-6.0.2/include -I. -I. -o moc_widget.o moc_widget.cpp
arm-linux-g++ -Wl,-rpath,/witech/builddir/sdk/qtopiacore/target/lib -o 2014040209 main.o widget.o moc_widget.o    -L/witech/builddir/sdk/qtopiacore/target/lib -L /qtqwt/qwt-6.0.2-arm/lib/ -lqwt -lQtGui -L/usr/local/tslib/lib -L/witech/builddir/sdk/qtopiacore/target/lib -lts -lQtNetwork -lQtCore -lm -lrt -ldl -lpthread
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QLayout'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QFutureInte**ceBase'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QObject'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QFrame'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QPaintDevice'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QWidget'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QPaintEngine'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QPushButton'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QTextDocument'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QThread'
/qtqwt/qwt-6.0.2-arm/lib//libqwt.so: undefined reference to `typeinfo for QScrollArea'
collect2: ld returned 1 exit status
make: *** [2014040209] Error 1
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

14

主题

51

帖子

95

积分

发表于 2014-4-4 08:13:12 | 显示全部楼层
我是那个库没连好呀?跪求大神指导!
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

14

主题

51

帖子

95

积分

发表于 2014-4-4 09:03:58 | 显示全部楼层
为啥没人回答呀
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

153

主题

3910

帖子

4207

积分

AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证TCU通行证FCU1401通行证FCU1301通行证FCU11xx通行证

发表于 2014-4-8 10:14:17 | 显示全部楼层
楼主,如果是提示库文件的问题,您看看我们的光盘资料中,有没有提供单独的库文件
技术支持电话:0312-3119192
技术支持邮箱:Linux@forlinx.com
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-21 19:20

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表