Menu

#212 Error installing : missing qwt_double_rect.h

current_stable
closed
nobody
5
2014-10-01
2011-08-02
Mike
No

Hi,
I encountered a problem with sciDAVis this morning on my archlinux box and went to reinstall it from the AUR. It seems to go like normal but then aborts with:

~~~~~
In file included from src/MuParserScript.cpp:37:0:
src/Matrix.h:42:29: fatal error: qwt_double_rect.h: No such file or directory
compilation terminated.
make: *** [../tmp/scidavis/MuParserScript.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
~~~~~~~
I searched my computer and could not find qwt_double_rect.h at all (the other files are in \usr\include\qwt, but not that one).

In a recent update, I installed qwt-6.0.0-1. I wonder if the file is replaced with another?

Thanks and thanks for the great program!
Mike

Discussion

  • Mike

    Mike - 2011-08-10

    Works now. I guess it got fixed in an update.

     
  • Mike

    Mike - 2011-08-10
    • status: open --> closed
     
  • Michael Gooch

    Michael Gooch - 2014-09-29

    attempting to fix this by pointing the "qwt_double_rect.h" include to qwt_compat.h instead results in the following errors:
    g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DSCRIPTING_MUPARSER -DPYTHON_CONFIG_PATH=\"/usr/../etc\" -DPYTHON_UTIL_PATH=\"/usr/share/scidavis\" -DSCRIPTING_PYTHON -DORIGIN_IMPORT -DQT_PLUGIN -DTS_PATH=\"/usr/share/scidavis/translations\" -DDOC_PATH=\"/usr/share/doc/scidavis\" -DPLUGIN_PATH=\"/usr/lib/scidavis/plugins\" -DLEGACY_CODE_0_2_x -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/Qt3Support -I/usr/include/QtSvg -I/usr/include -I/usr/include/python2.7 -I/usr/include/python2.7 -I../3rdparty/liborigin -I/usr/include/qwt -I/usr/include/qwtplot3d -I/usr/include/muParser -Isrc -I../scidavis/src/future -I/usr/X11R6/include -I/home/mgooch/Downloads/scidavis.1.D8/tmp/scidavis -I. -o ../tmp/scidavis/MuParserScript.o ../scidavis/src/MuParserScript.cpp
    In file included from ../scidavis/src/Graph.h:43:0,
    from ../scidavis/src/Table.h:39,
    from ../scidavis/src/MuParserScript.cpp:36:
    ../scidavis/src/Plot.h:95:53: error: ‘QwtPlotPrintFilter’ does not name a type
    void print(QPainter , const QRect &rect, const QwtPlotPrintFilter & = QwtPlotPrintFilter());
    ^
    ../scidavis/src/Plot.h:95:95: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
    void print(QPainter
    , const QRect &rect, const QwtPlotPrintFilter & = QwtPlotPrintFilter());
    ^
    ../scidavis/src/Plot.h:100:46: error: ‘QwtPlotPrintFilter’ does not name a type
    const QwtScaleMap map[axisCnt], const QwtPlotPrintFilter &pfilter) const;
    ^
    ../scidavis/src/Plot.h:100:66: error: ISO C++ forbids declaration of ‘pfilter’ with no type [-fpermissive]
    const QwtScaleMap map[axisCnt], const QwtPlotPrintFilter &pfilter) const;
    ^
    ../scidavis/src/Plot.h:103:42: error: ‘QwtPlotPrintFilter’ does not name a type
    const QwtScaleMap map[axisCnt], const QwtPlotPrintFilter &pfilter) const;
    ^
    ../scidavis/src/Plot.h:103:62: error: ISO C++ forbids declaration of ‘pfilter’ with no type [-fpermissive]
    const QwtScaleMap map[axisCnt], const QwtPlotPrintFilter &pfilter) const;
    ^
    ../scidavis/src/Plot.h:95:95: error: ‘QwtPlotPrintFilter’ was not declared in this scope
    void print(QPainter , const QRect &rect, const QwtPlotPrintFilter & = QwtPlotPrintFilter());
    ^
    In file included from ../scidavis/src/Table.h:39:0,
    from ../scidavis/src/MuParserScript.cpp:36:
    ../scidavis/src/Graph.h:288:22: error: ‘QwtDoubleRect’ does not name a type
    void zoomed (const QwtDoubleRect &);
    ^
    ../scidavis/src/Graph.h:288:36: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
    void zoomed (const QwtDoubleRect &);
    ^
    ../scidavis/src/Graph.h:690:51: error: ‘QwtPlotPrintFilter’ does not name a type
    void print(QPainter
    , const QRect &rect, const QwtPlotPrintFilter & = QwtPlotPrintFilter());
    ^
    ../scidavis/src/Graph.h:690:93: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
    void print(QPainter , const QRect &rect, const QwtPlotPrintFilter & = QwtPlotPrintFilter());
    ^
    ../scidavis/src/Graph.h:692:55: error: ‘QwtPlotPrintFilter’ does not name a type
    const QwtScaleMap map[QwtPlot::axisCnt], const QwtPlotPrintFilter &pfilter) const;
    ^
    ../scidavis/src/Graph.h:692:75: error: ISO C++ forbids declaration of ‘pfilter’ with no type [-fpermissive]
    const QwtScaleMap map[QwtPlot::axisCnt], const QwtPlotPrintFilter &pfilter) const;
    ^
    ../scidavis/src/Graph.h:690:93: error: ‘QwtPlotPrintFilter’ was not declared in this scope
    void print(QPainter
    , const QRect &rect, const QwtPlotPrintFilter & = QwtPlotPrintFilter());
    ^
    make: *** [../tmp/scidavis/MuParserScript.o] Error 1

     

Log in to post a comment.