Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36122

Whoever compile qtiplot-0.9.8.9 in Fedora 18?

$
0
0
I just installed Fedora 18 DVD.iso using flash disk.
I want to compile qtiplot, bu I can't understand C++ language (I use Fortran).
who can resolve the following problems in compilation processes.
---------------------------------------------------------------------------------------------------------------------------------------------------------

src/plot2D/Graph.h:934:1: error: expected class-name before ‘{’ token
src/plot2D/Graph.h:938:37: error: ‘Item’ has not been declared
src/plot2D/Graph.h: In member function ‘virtual QFont ScaledFontsPrintFilter::font(const QFont&, int) const’:
src/plot2D/Graph.h:943:15: error: ‘Title’ was not declared in this scope
src/plot2D/Graph.h:943:32: error: ‘AxisScale’ was not declared in this scope
src/plot2D/Graph.h:943:53: error: ‘AxisTitle’ was not declared in this scope
src/plot2D/Graph.h:943:74: error: ‘Marker’ was not declared in this scope
In file included from src/core/ApplicationWindow.h:49:0,
from src/analysis/Statistics.h:33,
from src/analysis/StatisticTest.h:32,
from src/analysis/ChiSquareTest.h:32,
from src/analysis/ChiSquareTest.cpp:29:
src/lib/include/LinearColorMap.h: At global scope:
src/lib/include/LinearColorMap.h:47:31: error: ‘QwtDoubleInterval’ does not name a type
src/lib/include/LinearColorMap.h:47:50: error: ISO C++ forbids declaration of ‘range’ with no type [-fpermissive]
src/lib/include/LinearColorMap.h:51:2: error: ‘QwtDoubleInterval’ does not name a type
src/lib/include/LinearColorMap.h:64:2: error: ‘QwtDoubleInterval’ does not name a type
src/lib/include/LinearColorMap.h: In member function ‘void LinearColorMap::setIntensityRange(const int&)’:
src/lib/include/LinearColorMap.h:47:57: error: ‘d_range’ was not declared in this scope
src/lib/include/LinearColorMap.h: In member function ‘void LinearColorMap::setIntensityRange(double, double)’:
src/lib/include/LinearColorMap.h:49:51: error: ‘d_range’ was not declared in this scope
src/lib/include/LinearColorMap.h:49:89: error: ‘QwtDoubleInterval’ was not declared in this scope
src/lib/include/LinearColorMap.h: In member function ‘double LinearColorMap::lowerBound()’:
src/lib/include/LinearColorMap.h:53:29: error: ‘d_range’ was not declared in this scope
src/lib/include/LinearColorMap.h: In member function ‘double LinearColorMap::upperBound()’:
src/lib/include/LinearColorMap.h:55:29: error: ‘d_range’ was not declared in this scope
make[1]: *** [../tmp/qtiplot/ChiSquareTest.o] Error 1
make[1]: Leaving directory `/home/graphene/Downloads/qtiplot-0.9.8.9/qtiplot'
make: *** [sub-qtiplot-make_default] Error 2
-----------------------------------------------------------------------------------------------------------------------------------------------------
Graph.h is here:
https://joinup.ec.europa.eu/svn/sta/...plot2D/Graph.h

LinearColorMap.h
http://fossies.org/dox/qtiplot-0.9.8...8h_source.html

---------- Post added at 12:13 PM ---------- Previous post was at 10:24 AM ----------

I have resolved the last two problems and encounter the new problems:


/usr/bin/ld: ../tmp/qtiplot/minigzip.o: undefined reference to symbol 'gzclose'
/usr/bin/ld: note: 'gzclose' is defined in DSO /lib64/libz.so.1 so try adding it to the linker command line
/lib64/libz.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [qtiplot] Error 1

Viewing all articles
Browse latest Browse all 36122

Trending Articles