用户名: 密码: 忘记密码? 注册
收藏此问题 发表新评论

请教一个与Ubuntu关系不大的问题。请版主不要见怪,各位不要见怪。

最近试图在ubuntu10.04上安装gnuradio3.2.2,运行./bootstrap和./configure命令都能够正常通过,但是在make命令时出现如下创建错误,我觉得这与机器上安装的Qt软件包有关,问题出现在moc上。我安装moc,Qt4相关包我也安装了(qt4-dev-tools, libqwt5-qt4-dev, libqwtplot3d-qt4-dev, pyqt4-dev-tools, libqt4-dev,qt4-qtconfig, qt4-qmake, libqt4-gui libqt4-phonon-dev), 还是无法编译通过,请高人指点:

../../../../gr-qtgui/src/lib/spectrumdisplayform_moc.cc:14:2: error: #error "This file was generated using the moc from 4.5.0. It"
../../../../gr-qtgui/src/lib/spectrumdisplayform_moc.cc:15:2: error: #error "cannot be used with the include files from this version of Qt."
../../../../gr-qtgui/src/lib/spectrumdisplayform_moc.cc:16:2: error: #error "(The moc has changed too much.)"
In file included from ./FrequencyDisplayPlot.h:11,
> from spectrumdisplayform_ui.h:13,
> from spectrumdisplayform.h:4,
> from spectrumdisplayform_moc.cc:10:
> /usr/include/qwt-qt4/qwt_plot_picker.h:106: warning: 'virtual void QwtPlotPicker::move(const QPoint&)' was hidden
> /usr/include/qwt-qt4/qwt_plot_zoomer.h:88: warning: by 'virtual void QwtPlotZoomer::move(double, double)'
> In file included from ./Waterfall3DDisplayPlot.h:7,
> from spectrumdisplayform_ui.h:30,
> from spectrumdisplayform.h:4,
> from spectrumdisplayform_moc.cc:10:
> /usr/include/qwtplot3d-qt4/qwt3d_function.h:30: warning: 'virtual bool Qwt3D::Function::create(Qwt3D::SurfacePlot&)' was hidden
> ./waterfallGlobalData.h:56: warning: by 'virtual bool Waterfall3DData::create()'
> In file included from /usr/include/qwtplot3d-qt4/qwt3d_colorlegend.h:7,
> from /usr/include/qwtplot3d-qt4/qwt3d_coordsys.h:5,
> from /usr/include/qwtplot3d-qt4/qwt3d_plot.h:4,
> from /usr/include/qwtplot3d-qt4/qwt3d_surfaceplot.h:4,
> from ./Waterfall3DDisplayPlot.h:8,
> from spectrumdisplayform_ui.h:30,
> from spectrumdisplayform.h:4,
> from spectrumdisplayform_moc.cc:10:
> /usr/include/qwtplot3d-qt4/qwt3d_color.h:22: warning: 'virtual Qwt3D::RGBA Qwt3D::Color::operator()(const Qwt3D::Triple&) const' was hidden
> /usr/include/qwtplot3d-qt4/qwt3d_color.h:44: warning: by 'virtual Qwt3D::RGBA Qwt3D::StandardColor::operator()(double, double, double) const'
> In file included from spectrumdisplayform_ui.h:30,
> from spectrumdisplayform.h:4,
> from spectrumdisplayform_moc.cc:10:
> /usr/include/qwtplot3d-qt4/qwt3d_color.h:22: warning: 'virtual Qwt3D::RGBA Qwt3D::Color::operator()(const Qwt3D::Triple&) const' was hidden
> ./Waterfall3DDisplayPlot.h:18: warning: by 'virtual Qwt3D::RGBA Waterfall3DColorMap::operator()(double, double, double) const'
> make[6]: *** [spectrumdisplayform_moc.lo] Error 1
昵称: mars-nudt  时间: 2010-07-23 10:56:00
发表评论
昵称:
内容:
验证: