From: Stefan G. <ge...@mb...> - 2006-06-23 09:13:14
|
---------- Forwarded Message ---------- Subject: [Labplot-users] Compiling Labplot and qwtplot3d on cygwin Date: Friday 23 June 2006 04:22 From: Pusyamitra Sunga <har...@gm...> To: lab...@li... Hi, I have been trying to compile labplot (1.6) on cygwin/winxp. I had to edit the configure script and make the section on "klineedit" case sensitive,else the configure script can't find the KDE/QT libraries (which I installed by downloading the cygwin binaries as tarballs from kde-cygwin website). The configure script ran successfully, but running make causes a problem with qwtplot3d/qt enabled. Qwtplot3d doesn't compile on cygwin without a host of errors (even the standalone qwt source code downloaded from their site and compiled separately using qmake/make). Compiling labplot with opengl disabled doesn't work either, with a whole host of errors coming from the header " functions.h". Compiling with opengl enabled produces the following errors from qwtplot3d/qt: Creating library file: .libs/libLabPlotqwtplot3d.dll.a .libs/qwt3d_label.o: In function `_ZN5Qwt3D5Label6updateEv': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_label.cpp:149: undefined reference to `QGLWidget::convertToGLFormat(QImage const&)' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3D12renderPixmapEiib': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.cpp:271: undefined reference to `QGLWidget::renderPixmap(int, int, bool)' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DD0Ev': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.cpp:129: undefined reference to `QGLWidget::makeCurrent()' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DD0Ev': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:69: undefined reference to `QGLWidget::~QGLWidget()' /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:69: undefined reference to `QGLWidget::~QGLWidget()' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DD1Ev': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.cpp:129: undefined reference to `QGLWidget::makeCurrent()' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DD1Ev': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:69: undefined reference to `QGLWidget::~QGLWidget()' /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:69: undefined reference to `QGLWidget::~QGLWidget()' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DD2Ev': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.cpp:129: undefined reference to `QGLWidget::makeCurrent()' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DD2Ev': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:69: undefined reference to `QGLWidget::~QGLWidget()' /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:69: undefined reference to `QGLWidget::~QGLWidget()' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DC1EP7QWidgetPKc': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.cpp:22: undefined reference to `QGLWidget::QGLWidget(QWidget*, char const*, QGLWidget const*, unsigned int)' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DC1EP7QWidgetPKc': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:69: undefined reference to `QGLWidget::~QGLWidget()' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DC2EP7QWidgetPKc': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.cpp:22: undefined reference to `QGLWidget::QGLWidget(QWidget*, char const*, QGLWidget const*, unsigned int)' .libs/qwt3d_plot.o: In function `_ZN5Qwt3D6Plot3DC2EP7QWidgetPKc': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:69: undefined reference to `QGLWidget::~QGLWidget()' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D16staticMetaObjectEv': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:54: undefined reference to `QGLWidget::staticMetaObject()' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D9qt_invokeEiP8QUObject': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:351: undefined reference to `QGLWidget::qt_invoke(int, QUObject*)' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D7qt_emitEiP8QUObject': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:366: undefined reference to `QGLWidget::qt_emit(int, QUObject*)' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D11qt_propertyEiiP8QVariant': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:374: undefined reference to `QGLWidget::qt_property(int, int, QVariant*)' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D7qt_castEPKc': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:245: undefined reference to `QGLWidget::qt_cast(char const*)' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D6trUtf8EPKcS2_': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:42: undefined reference to `QGLWidget::setMouseTracking(bool)' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:45: undefined reference to `QGLWidget::reparent(QWidget*, unsigned int, QPoint const&, bool)' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D16staticMetaObjectEv': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:228: undefined reference to `QGLWidget::paintEvent(QPaintEvent*)' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:228: undefined reference to `QGLWidget::resizeEvent(QResizeEvent*)' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D7qt_castEPKc': /opt/qt/3.3/include/qcstring.h:66: undefined reference to `QGLWidget::makeCurrent()' /opt/qt/3.3/include/qcstring.h:66: undefined reference to `QGLWidget::swapBuffers()' /opt/qt/3.3/include/qcstring.h:66: undefined reference to `QGLWidget::setFormat(QGLFormat const&)' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D7qt_castEPKc': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:245: undefined reference to `QGLWidget::setContext(QGLContext*, QGLContext const*, bool)' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:246: undefined reference to `QGLWidget::grabFrameBuffer(bool)' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:246: undefined reference to `QGLWidget::makeOverlayCurrent()' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:245: undefined reference to `QGLWidget::updateGL()' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:246: undefined reference to `QGLWidget::updateOverlayGL()' .libs/qwt3d_plot.moc.o: In function `_ZN5Qwt3D6Plot3D15rotationChangedEddd': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:253: undefined reference to `QGLWidget::initializeOverlayGL()' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:253: undefined reference to `QGLWidget::resizeOverlayGL(int, int)' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:253: undefined reference to `QGLWidget::paintOverlayGL()' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:253: undefined reference to `QGLWidget::glInit()' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_plot.moc.cpp:253: undefined reference to `QGLWidget::glDraw()' .libs/qwt3d_surfaceplot.moc.o: In function `_ZN5Qwt3D11SurfacePlot6trUtf8EPKcS2_': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:42: undefined reference to `QGLWidget::setMouseTracking(bool)' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:45: undefined reference to `QGLWidget::reparent(QWidget*, unsigned int, QPoint const&, bool)' .libs/qwt3d_surfaceplot.moc.o: In function `_ZN5Qwt3D11SurfacePlot16staticMetaObjectEv': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:69: undefined reference to `QGLWidget::paintEvent(QPaintEvent*)' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:69: undefined reference to `QGLWidget::resizeEvent(QResizeEvent*)' .libs/qwt3d_surfaceplot.moc.o: In function `_ZN5Qwt3D11SurfacePlot7qt_castEPKc': /opt/qt/3.3/include/qcstring.h:66: undefined reference to `QGLWidget::makeCurrent()' /opt/qt/3.3/include/qcstring.h:66: undefined reference to `QGLWidget::swapBuffers()' /opt/qt/3.3/include/qcstring.h:66: undefined reference to `QGLWidget::setFormat(QGLFormat const&)' .libs/qwt3d_surfaceplot.moc.o: In function `_ZN5Qwt3D11SurfacePlot7qt_castEPKc': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:86: undefined reference to `QGLWidget::setContext(QGLContext*, QGLContext const*, bool)' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:87: undefined reference to `QGLWidget::grabFrameBuffer(bool)' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:87: undefined reference to `QGLWidget::makeOverlayCurrent()' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:86: undefined reference to `QGLWidget::updateGL()' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:87: undefined reference to `QGLWidget::updateOverlayGL()' .libs/qwt3d_surfaceplot.moc.o: In function `_ZN5Qwt3D11SurfacePlot17resolutionChangedEi': /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:91: undefined reference to `QGLWidget::initializeOverlayGL()' /home/Administrator/LabPlot-1.6.0.pre1/qwtplot3d/qwt3d_surfaceplot.moc.cpp:91: undefined reference to `QGLWidget::resizeOverlayGL(int, int)' .libs/qwt3d_surfaceplot.moc.o: In function `_ZN5Qwt3D11SurfacePlot17resolutionChangedEi': /opt/qt/3.3/include/qmetaobject.h:261: undefined reference to `QGLWidget::paintOverlayGL()' /opt/qt/3.3/include/qmetaobject.h:261: undefined reference to `QGLWidget::glInit()' /opt/qt/3.3/include/qmetaobject.h:261: undefined reference to `QGLWidget::glDraw()' Info: resolving QString::shared_null by linking to __imp___ZN7QString11shared_nullE (auto-import) Info: resolving Qt::color0 by linking to __imp___ZN2Qt6color0E (auto-import) Info: resolving Qt::color1 by linking to __imp___ZN2Qt6color1E (auto-import) Info: resolving Qt::white by linking to __imp___ZN2Qt5whiteE (auto-import) Info: resolving _qApp by linking to __imp__qApp (auto-import) Info: resolving _static_QUType_double by linking to __imp__static_QUType_double (auto-import) Info: resolving _static_QUType_bool by linking to __imp__static_QUType_bool (auto-import) Info: resolving _static_QUType_ptr by linking to __imp__static_QUType_ptr (auto-import) Info: resolving _static_QUType_QString by linking to __imp__static_QUType_QString (auto-import) Info: resolving _static_QUType_Null by linking to __imp__static_QUType_Null (auto-import) Info: resolving _static_QUType_int by linking to __imp__static_QUType_int (auto-import) collect2: ld returned 1 exit status make[1]: *** [libLabPlotqwtplot3d.la] Error 1 make[1]: Leaving directory `/home/Administrator/LabPlot-1.6.0.pre1 /qwtplot3d' make: *** [all-recursive] Error 1 The same errors arise from compiling standalone qwtplot3d also: I have attached the config.log file to this post. I would be grateful for any advice on this matter. Please do be so kind as to offer any guidance. regards, AR ------------------------------------------------------- |