Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Home

ion vasilief

QwtPlot3D is a graphics extension to the Qt GUI application framework. It provides a 3D plotting widget for scientific data and mathematical expressions. It compares to the existing Qwt Project.

 

Project Members:


  • Daniel  McInnes
    Daniel McInnes
    2014-02-27

    Hi

    I ran into a little trouble building qwtplot3d. I am building on ubuntu 12.04 / qt5.2, and I got the following error:

    anon@ubuntu:/opt/qt5/build/qwtplot3d$ qmake
    anon@ubuntu:/opt/qt5/build/qwtplot3d$ make
    g++ -c -pipe -g -D_REENTRANT -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/Qt-5.3.0/mkspecs/linux-g++ -I. -Iinclude -I../qtbase/include -I../qtbase/include/QtOpenGL -I../qtbase/include/QtWidgets -I../qtbase/include/QtGui -I../qtbase/include/QtCore -Itmp -o tmp/qwt3d_axis.o src/qwt3d_axis.cpp
    In file included from include/qwt3d_types.h:26:0,
    from include/qwt3d_drawable.h:7,
    from include/qwt3d_label.h:10,
    from include/qwt3d_axis.h:5,
    from src/qwt3d_axis.cpp:1:
    include/qwt3d_openglhelper.h: In function ‘const GLubyte Qwt3D::gl_error()’:
    include/qwt3d_openglhelper.h:67:31: error: ‘gluErrorString’ was not declared in this scope
    include/qwt3d_openglhelper.h: In function ‘bool Qwt3D::ViewPort2World(double&, double&, double&, double, double, double)’:
    include/qwt3d_openglhelper.h:104:97: error: ‘gluUnProject’ was not declared in this scope
    include/qwt3d_openglhelper.h: In function ‘bool Qwt3D::World2ViewPort(double&, double&, double&, double, double, double)’:
    include/qwt3d_openglhelper.h:120:95: error: ‘gluProject’ was not declared in this scope
    make:
    ** [tmp/qwt3d_axis.o] Error 1
    anon@ubuntu:/opt/qt5/build/qwtplot3d$ gedit include/qwt3d_openglhelper.h

    I edited qwt3d_openglhelper.h and added the following #include:

    include <GL glu.h="">

    ... and now it builds ok for me.

    Cheers

    Daniel McInnes

     
    Attachments