[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Hilfe beim übersetzen/inst. von Programm



Hallo Leute,

ich versuche das Programm activitydiary[1] zu übersetzen.

Lt. linux-user benötigt man QT4 und die "QT Widgets for Technical
Applications"
Denke, das ich die richtigen Pakete inst. habe.

Leider bekomme ich bei make eine Fehlermeldung [2]

Wer hat ne Idee?

Danke

Dirk

[1] http://activitydiary.org/
[2] 
make                      
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../activitydiary-0.2 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../../activitydiary-0.2 -I../src -I/usr/include/qwt -I. -I. -I. -o diagramcurve.o ../src/diagramcurve.cpp                  
In file included from /usr/include/qwt/qwt_plot.h:17,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_array.h:25:23: error: qmemarray.h: Datei oder Verzeichnis nicht gefunden                                                                                                                           
In file included from /usr/include/qwt/qwt_marker.h:20,                                                                                                                                                                 
                 from /usr/include/qwt/qwt_plot.h:23,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_text.h:20:29: error: qsimplerichtext.h: Datei oder Verzeichnis nicht gefunden                                                                                                                      
In file included from /usr/include/qwt/qwt_plot.h:24,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_legend.h:16:25: error: qscrollview.h: Datei oder Verzeichnis nicht gefunden                                                                                                                        
In file included from /usr/include/qwt/qwt_legend.h:25,                                                                                                                                                                 
                 from /usr/include/qwt/qwt_plot.h:24,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_plot_dict.h:15:22: error: qintdict.h: Datei oder Verzeichnis nicht gefunden                                                                                                                        
In file included from /usr/include/qwt/qwt_plot.h:25,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_plot_printfilter.h:16:24: error: qvaluelist.h: Datei oder Verzeichnis nicht gefunden                                                                                                               
In file included from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
../src/diagramcurve.h:7:28: error: qwt_plot_curve.h: Datei oder Verzeichnis nicht gefunden                                                                                                                              
../src/diagramcurve.h:8:30: error: qwt_curve_fitter.h: Datei oder Verzeichnis nicht gefunden                                                                                                                            
In file included from /usr/include/qwt/qwt_dimap.h:14,                                                                                                                                                                  
                 from /usr/include/qwt/qwt_grid.h:15,                                                                                                                                                                   
                 from /usr/include/qwt/qwt_plot.h:18,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_math.h: In function ‘void qwtShiftArray(T*, int, int)’:                                                                                                                                            
/usr/include/qwt/qwt_math.h:162: error: there are no arguments to ‘QABS’ that depend on a template parameter, so a declaration of ‘QABS’ must be available                                                              
/usr/include/qwt/qwt_math.h:162: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)                                                                
In file included from /usr/include/qwt/qwt_grid.h:16,                                                                                                                                                                   
                 from /usr/include/qwt/qwt_plot.h:18,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_scldiv.h: At global scope:                                                                                                                                                                         
/usr/include/qwt/qwt_scldiv.h:128: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                       
/usr/include/qwt/qwt_scldiv.h:128: error: expected ‘;’ before ‘<’ token                                                                                                                                                 
/usr/include/qwt/qwt_scldiv.h:129: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                       
/usr/include/qwt/qwt_scldiv.h:129: error: expected ‘;’ before ‘<’ token                                                                                                                                                 
/usr/include/qwt/qwt_scldiv.h: In member function ‘uint QwtScaleDiv::minCnt() const’:                                                                                                                                   
/usr/include/qwt/qwt_scldiv.h:91: error: ‘d_minMarks’ was not declared in this scope                                                                                                                                    
/usr/include/qwt/qwt_scldiv.h: In member function ‘uint QwtScaleDiv::majCnt() const’:                                                                                                                                   
/usr/include/qwt/qwt_scldiv.h:96: error: ‘d_majMarks’ was not declared in this scope                                                                                                                                    
/usr/include/qwt/qwt_scldiv.h: In member function ‘double QwtScaleDiv::majMark(int) const’:                                                                                                                             
/usr/include/qwt/qwt_scldiv.h:105: error: ‘d_majMarks’ was not declared in this scope                                                                                                                                   
/usr/include/qwt/qwt_scldiv.h: In member function ‘double QwtScaleDiv::minMark(int) const’:                                                                                                                             
/usr/include/qwt/qwt_scldiv.h:107: error: ‘d_minMarks’ was not declared in this scope                                                                                                                                   
In file included from /usr/include/qwt/qwt_plot.h:19,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_autoscl.h: At global scope:                                                                                                                                                                        
/usr/include/qwt/qwt_autoscl.h:114: error: expected ‘,’ or ‘...’ before ‘<’ token                                                                                                                                       
/usr/include/qwt/qwt_autoscl.h:114: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                      
In file included from /usr/include/qwt/qwt_plot.h:20,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_scldraw.h:105: error: ‘QWMatrix’ does not name a type                                                                                                                                              
In file included from /usr/include/qwt/qwt_curve.h:17,                                                                                                                                                                  
                 from /usr/include/qwt/qwt_plot.h:22,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_data.h:87: error: expected ‘,’ or ‘...’ before ‘<’ token                                                                                                                                           
/usr/include/qwt/qwt_data.h:87: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                          
/usr/include/qwt/qwt_data.h:96: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                          
/usr/include/qwt/qwt_data.h:96: error: expected ‘;’ before ‘<’ token                                                                                                                                                    
/usr/include/qwt/qwt_data.h:106: error: expected ‘,’ or ‘...’ before ‘<’ token                                                                                                                                          
/usr/include/qwt/qwt_data.h:106: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                         
/usr/include/qwt/qwt_data.h:118: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                         
/usr/include/qwt/qwt_data.h:118: error: expected ‘;’ before ‘<’ token                                                                                                                                                   
/usr/include/qwt/qwt_data.h:119: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                         
/usr/include/qwt/qwt_data.h:119: error: expected ‘;’ before ‘<’ token                                                                                                                                                   
In file included from /usr/include/qwt/qwt_curve.h:18,                                                                                                                                                                  
                 from /usr/include/qwt/qwt_plot.h:22,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_spline.h:71: error: expected ‘,’ or ‘...’ before ‘<’ token                                                                                                                                         
/usr/include/qwt/qwt_spline.h:72: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                        
In file included from /usr/include/qwt/qwt_plot.h:22,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_curve.h:100: error: expected ‘,’ or ‘...’ before ‘<’ token                                                                                                                                         
/usr/include/qwt/qwt_curve.h:100: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                        
/usr/include/qwt/qwt_curve.h:101: error: expected ‘,’ or ‘...’ before ‘<’ token                                                                                                                                         
/usr/include/qwt/qwt_curve.h:101: error: ISO C++ forbids declaration of ‘QMemArray’ with no type                                                                                                                        
/usr/include/qwt/qwt_curve.h:101: error: ‘void QwtCurve::setData(int)’ cannot be overloaded                                                                                                                             
/usr/include/qwt/qwt_curve.h:100: error: with ‘void QwtCurve::setData(int)’                                                                                                                                             
/usr/include/qwt/qwt_curve.h:175: error: ‘QPointArray’ has not been declared                                                                                                                                            
In file included from /usr/include/qwt/qwt_marker.h:20,                                                                                                                                                                 
                 from /usr/include/qwt/qwt_plot.h:23,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_text.h:134: error: ‘WordBreak’ is not a member of ‘Qt’                                                                                                                                             
/usr/include/qwt/qwt_text.h:134: error: ‘ExpandTabs’ is not a member of ‘Qt’                                                                                                                                            
/usr/include/qwt/qwt_text.h:182: error: ISO C++ forbids declaration of ‘QSimpleRichText’ with no type                                                                                                                   
/usr/include/qwt/qwt_text.h:182: error: expected ‘;’ before ‘*’ token                                                                                                                                                   
/usr/include/qwt/qwt_text.h:159: error: ‘WordBreak’ is not a member of ‘Qt’                                                                                                                                             
/usr/include/qwt/qwt_text.h:159: error: ‘ExpandTabs’ is not a member of ‘Qt’                                                                                                                                            
In file included from /usr/include/qwt/qwt_legend.h:20,                                                                                                                                                                 
                 from /usr/include/qwt/qwt_plot.h:24,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_push_button.h:36: error: expected ‘,’ or ‘...’ before ‘&’ token                                                                                                                                    
/usr/include/qwt/qwt_push_button.h:37: error: ISO C++ forbids declaration of ‘QIconSet’ with no type                                                                                                                    
/usr/include/qwt/qwt_push_button.h:41: error: ‘TextFormat’ does not name a type                                                                                                                                         
/usr/include/qwt/qwt_push_button.h:42: error: ‘TextFormat’ has not been declared                                                                                                                                        
In file included from /usr/include/qwt/qwt_legend.h:25,                                                                                                                                                                 
                 from /usr/include/qwt/qwt_plot.h:24,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_plot_dict.h:22: error: expected template-name before ‘<’ token                                                                                                                                     
/usr/include/qwt/qwt_plot_dict.h:22: error: expected `{' before ‘<’ token                                                                                                                                               
/usr/include/qwt/qwt_plot_dict.h:22: error: expected unqualified-id before ‘<’ token                                                                                                                                    
/usr/include/qwt/qwt_plot_dict.h:64: error: invalid use of incomplete type ‘class QwtSeqDict<QwtPlotCurve>’                                                                                                             
/usr/include/qwt/qwt_plot_dict.h:22: error: declaration of ‘class QwtSeqDict<QwtPlotCurve>’                                                                                                                             
/usr/include/qwt/qwt_plot_dict.h: In constructor ‘QwtCurveDict::QwtCurveDict()’:                                                                                                                                        
/usr/include/qwt/qwt_plot_dict.h:66: error: ‘setAutoDelete’ was not declared in this scope                                                                                                                              
/usr/include/qwt/qwt_plot_dict.h: At global scope:                                                                                                                                                                      
/usr/include/qwt/qwt_plot_dict.h:70: error: invalid use of incomplete type ‘class QwtSeqDict<QwtPlotMarker>’                                                                                                            
/usr/include/qwt/qwt_plot_dict.h:22: error: declaration of ‘class QwtSeqDict<QwtPlotMarker>’                                                                                                                            
/usr/include/qwt/qwt_plot_dict.h: In constructor ‘QwtMarkerDict::QwtMarkerDict()’:                                                                                                                                      
/usr/include/qwt/qwt_plot_dict.h:72: error: ‘setAutoDelete’ was not declared in this scope                                                                                                                              
/usr/include/qwt/qwt_plot_dict.h: At global scope:                                                                                                                                                                      
/usr/include/qwt/qwt_plot_dict.h:75: error: expected initializer before ‘<’ token                                                                                                                                       
/usr/include/qwt/qwt_plot_dict.h:76: error: expected initializer before ‘<’ token                                                                                                                                       
In file included from /usr/include/qwt/qwt_plot.h:24,                                                                                                                                                                   
                 from ../src/diagramcurve.h:6,                                                                                                                                                                          
                 from ../src/diagramcurve.cpp:1:                                                                                                                                                                        
/usr/include/qwt/qwt_legend.h:27: error: invalid use of incomplete type ‘class QwtSeqDict<QWidget>’                                                                                                                     
/usr/include/qwt/qwt_plot_dict.h:22: error: declaration of ‘class QwtSeqDict<QWidget>’                                                                                                                                  
/usr/include/qwt/qwt_legend.h:31: error: expected initializer before ‘<’ token                                                                                                                                          
/usr/include/qwt/qwt_legend.h:159: error: expected class-name before ‘{’ token                                                                                                                                          
/usr/include/qwt/qwt_legend.h:212: error: ‘QWidgetIntDictIt’ does not name a type                                                                                                                                       
/usr/include/qwt/qwt_legend.h: In member function ‘bool QwtLegend::isEmpty() const’:                                                                                                                                    
/usr/include/qwt/qwt_legend.h:241: error: ‘const class QWidgetIntDict’ has no member named ‘count’                                                                                                                      
/usr/include/qwt/qwt_legend.h: In member function ‘uint QwtLegend::itemCount() const’:                                                                                                                                  
/usr/include/qwt/qwt_legend.h:247: error: ‘const class QWidgetIntDict’ has no member named ‘count’                                                                                                                      
In file included from ../src/diagramcurve.h:6,
                 from ../src/diagramcurve.cpp:1:
/usr/include/qwt/qwt_plot.h: At global scope:
/usr/include/qwt/qwt_plot.h:213: error: ‘QwtPlotCurveIterator’ does not name a type
/usr/include/qwt/qwt_plot.h:214: error: ‘QwtPlotMarkerIterator’ does not name a type
/usr/include/qwt/qwt_plot.h:230: error: ISO C++ forbids declaration of ‘QMemArray’ with no type
/usr/include/qwt/qwt_plot.h:230: error: expected ‘;’ before ‘<’ token
/usr/include/qwt/qwt_plot.h:242: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/include/qwt/qwt_plot.h:242: error: ISO C++ forbids declaration of ‘QMemArray’ with no type
/usr/include/qwt/qwt_plot.h:243: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/include/qwt/qwt_plot.h:243: error: ISO C++ forbids declaration of ‘QMemArray’ with no type
/usr/include/qwt/qwt_plot.h:243: error: ‘bool QwtPlot::setCurveData(long int, int)’ cannot be overloaded
/usr/include/qwt/qwt_plot.h:242: error: with ‘bool QwtPlot::setCurveData(long int, int)’
/usr/include/qwt/qwt_plot.h:356: error: ISO C++ forbids declaration of ‘QMemArray’ with no type
/usr/include/qwt/qwt_plot.h:356: error: expected ‘;’ before ‘<’ token
/usr/include/qwt/qwt_plot.h:515: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/include/qwt/qwt_plot.h:515: error: ISO C++ forbids declaration of ‘QMemArray’ with no type
/usr/include/qwt/qwt_plot.h:536: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/include/qwt/qwt_plot.h:536: error: ISO C++ forbids declaration of ‘QMemArray’ with no type
../src/diagramcurve.cpp: In constructor ‘DiagramCurve::DiagramCurve(QwtPlot*, QString)’:
../src/diagramcurve.cpp:6: error: no matching function for call to ‘QwtPlotCurve::QwtPlotCurve(QString&)’
/usr/include/qwt/qwt_plot_classes.h:27: note: candidates are: QwtPlotCurve::QwtPlotCurve(QwtPlot*, const QString&)
/usr/include/qwt/qwt_plot_classes.h:24: note:                 QwtPlotCurve::QwtPlotCurve(const QwtPlotCurve&)
../src/diagramcurve.cpp: In member function ‘void DiagramCurve::setValues(QVector<double>, QVector<double>)’:
../src/diagramcurve.cpp:18: error: ‘QMemArray’ was not declared in this scope
../src/diagramcurve.cpp:18: error: expected primary-expression before ‘double’
../src/diagramcurve.cpp:18: error: expected `;' before ‘double’
../src/diagramcurve.cpp:19: error: expected primary-expression before ‘double’
../src/diagramcurve.cpp:19: error: expected `;' before ‘double’
../src/diagramcurve.cpp:21: error: ‘xVal’ was not declared in this scope
../src/diagramcurve.cpp:21: error: ‘yVal’ was not declared in this scope
../src/diagramcurve.cpp: At global scope:
../src/diagramcurve.cpp:16: warning: unused parameter ‘xValues’
../src/diagramcurve.cpp:16: warning: unused parameter ‘yValues’
../src/diagramcurve.cpp: In member function ‘void DiagramCurve::detach()’:
../src/diagramcurve.cpp:39: error: ‘class QwtPlotCurve’ has no member named ‘detach’
../src/diagramcurve.cpp: In member function ‘void DiagramCurve::attachToDiagram(QwtPlot*)’:
../src/diagramcurve.cpp:44: error: ‘class QwtPlotCurve’ has no member named ‘attach’
../src/diagramcurve.cpp: In member function ‘bool DiagramCurve::isVisible()’:
../src/diagramcurve.cpp:54: error: ‘class QwtPlotCurve’ has no member named ‘isVisible’
make: *** [diagramcurve.o] Fehler 1


Reply to: