Compiling QtiPlot from Source -- Strange Error

Questions about applications and software
Forum rules
Before you post please read this

Compiling QtiPlot from Source -- Strange Error

Postby killer de bug on Sat Jan 11, 2014 4:24 pm

Hi everyone!

I need to compile QtiPlot from source. I have some .opj files I have done with Origin and I want to use them on Linux. But the version available in the repo does not allow this... :(

So I have found so nice explanationshere and here.

I am almost done...
At the end you need to do
Code: Select all
qmake qtiplot.pro

Code: Select all
make


And this should create executable file named qtiplot. But I have an error :


Code: Select all
emmanuel@manu-laptop ~/Sandbox/qtiplot/qtiplot-0.9.8.9 $ qmake qtiplot.pro
emmanuel@manu-laptop ~/Sandbox/qtiplot/qtiplot-0.9.8.9 $ make
cd fitPlugins/ && make -f Makefile
make[1]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins »
cd explin/ && make -f Makefile
make[2]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/explin »
make[2]: Rien à faire pour « first ».
make[2]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/explin »
cd exp_saturation/ && make -f Makefile
make[2]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/exp_saturation »
make[2]: Rien à faire pour « first ».
make[2]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/exp_saturation »
cd fitRational0/ && make -f Makefile
make[2]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/fitRational0 »
make[2]: Rien à faire pour « first ».
make[2]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/fitRational0 »
cd fitRational1/ && make -f Makefile
make[2]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/fitRational1 »
make[2]: Rien à faire pour « first ».
make[2]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/fitRational1 »
cd planck_wavelength/ && make -f Makefile
make[2]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/planck_wavelength »
make[2]: Rien à faire pour « first ».
make[2]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins/planck_wavelength »
make[1]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/fitPlugins »
cd manual/ && make -f Makefile
make[1]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/manual »
docbook2html -d qtiplot.dsl docbook-en/index.docbook -e no-valid
Using catalogs: /etc/sgml/catalog
Using stylesheet: /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/manual/qtiplot.dsl
Working on: /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/manual/docbook-en/index.docbook
jade:/usr/share/sgml/declaration/xml.dcl:31:27:W: characters in the document character set with numbers exceeding 65535 not supported
Done.
dblatex -o qtiplot-manual-en.pdf -c dblatex.conf docbook-en/index.docbook
Build the book set list...
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.3.4-3)
===================================================
computeroutput: default template used in programlisting or screen
computeroutput: default template used in programlisting or screen
computeroutput: default template used in programlisting or screen
computeroutput: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
Build index.docbook.pdf
processing index /tmp/tmps2m7UV/index.docbook.idx...
This is makeindex, version 2.15 [TeX Live 2012] (kpathsea + Thai support).
Scanning style file /usr/share/dblatex/latex/scripts/doc.ist....done (4 attributes redefined, 0 ignored).
Scanning input file /tmp/tmps2m7UV/index.docbook.idx....done (10 entries accepted, 0 rejected).
Sorting entries....done (38 comparisons).
Generating output file index.docbook.ind....done (17 lines written, 0 warnings).
Output written in index.docbook.ind.
Transcript written in index.docbook.ilg.
'qtiplot-manual-en.pdf' successfully built
dblatex -o qtiplot-manual-it.pdf -c dblatex.conf docbook-it/index.docbook
Build the book set list...
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.3.4-3)
===================================================
computeroutput: default template used in programlisting or screen
computeroutput: default template used in programlisting or screen
computeroutput: default template used in programlisting or screen
computeroutput: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
lineannotation: default template used in programlisting or screen
Build index.docbook.pdf
processing index /tmp/tmpqusX9D/index.docbook.idx...
This is makeindex, version 2.15 [TeX Live 2012] (kpathsea + Thai support).
Scanning style file /usr/share/dblatex/latex/scripts/doc.ist....done (4 attributes redefined, 0 ignored).
Scanning input file /tmp/tmpqusX9D/index.docbook.idx....done (10 entries accepted, 0 rejected).
Sorting entries....done (36 comparisons).
Generating output file index.docbook.ind....done (18 lines written, 0 warnings).
Output written in index.docbook.ind.
Transcript written in index.docbook.ilg.
'qtiplot-manual-it.pdf' successfully built
make[1]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/manual »
cd 3rdparty/qwt/ && make -f Makefile
make[1]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/3rdparty/qwt »
cd src/ && make -f Makefile
make[2]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/3rdparty/qwt/src »
make[2]: Rien à faire pour « first ».
make[2]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/3rdparty/qwt/src »
make[1]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/3rdparty/qwt »
cd 3rdparty/qwtplot3d/ && make -f Makefile
make[1]: entrant dans le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/3rdparty/qwtplot3d »
g++ -c -m64 -pipe -O2 -fPIC -D_REENTRANT -Wall -W -DQT_WEBKIT -DGL2PS_HAVE_LIBPNG -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Iinclude -I../zlib -I../libpng/ -I/usr/X11R6/include -Ilib/tmp -o lib/tmp/qwt3d_io_gl2ps.o src/qwt3d_io_gl2ps.cpp
In file included from src/qwt3d_io_gl2ps.cpp:8:0:
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[1]: *** [lib/tmp/qwt3d_io_gl2ps.o] Erreur 1
make[1]: quittant le répertoire « /home/emmanuel/Sandbox/qtiplot/qtiplot-0.9.8.9/3rdparty/qwtplot3d »
make: *** [sub-3rdparty-qwtplot3d-make_default] Erreur 2


Any idea ? Thanks in advance !
If I have seen further it is by standing on the shoulders of giants. [Isaac Newton]
User avatar
killer de bug
Level 6
Level 6
 
Posts: 1086
Joined: Tue Jul 08, 2008 1:49 pm
Location: France

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 8 guests