[vtkusers] Problem compiling VTK CVS -version (15.12.2005) with GUISupport
Till Bentz
till at onyxus.de
Fri Dec 16 08:51:28 EST 2005
Hi!
I'm trying to get the cvs version of vtk with qt guisupport running on my
fedora c3 installation. Works all right until building of the GUISupport
section.
I have QT 4.0.1 and the CVS version of vtk from yesterday.
This is the error I get:
----------------------------------------------------
/home/kublai/VTK-build/GUISupport/Qt: building default_target
Building dependencies. cmake.depends...
Building object file vtkEventQtSlotConnect.o...
Building object file QVTKWidget.o...
Building object file moc_QVTKWidget.o...
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:12:2: #error "The
header file 'QVTKWidget.h' doesn't include <QObject>."
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:53: error: `const
QMetaObject QVTKWidget::staticMetaObject' is not a static member of `class
QVTKWidget'
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:53: error: variable
`const QMetaObject QVTKWidget::staticMetaObject' has initializer but
incomplete type
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:59: error: prototype
for `const QMetaObject* QVTKWidget::metaObject() const' does not match any
in class `QVTKWidget'
/home/kublai/VTK-build/GUISupport/Qt/../../../VTK_CVS/VTK/GUISupport/Qt/QVTKWidget.h:62:
error: candidate is: virtual QMetaObject* QVTKWidget::metaObject() const
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:59: error: `const
QMetaObject* QVTKWidget::metaObject() const' and `virtual QMetaObject*
QVTKWidget::metaObject() const' cannot be overloaded
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: In member function
`const QMetaObject* QVTKWidget::metaObject() const':
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:60: error: cannot
convert `QMetaObject*(*)()' to `const QMetaObject*' in return
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: At global scope:
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:64: error: no `void*
QVTKWidget::qt_metacast(const char*)' member function declared in class
`QVTKWidget'
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: In member function
`void* QVTKWidget::qt_metacast(const char*)':
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:68: error:
`qt_metacast' is not a member of `QWidget'
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: At global scope:
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:71: error: `int
QVTKWidget::qt_metacall' is not a static member of `class QVTKWidget'
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:71: error:
incomplete type `QMetaObject' used in nested name specifier
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:71: error: expected
primary-expression before "int"
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:71: error: expected
primary-expression before "void"
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:72: error:
initializer expression list treated as compound expression
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:72: error: expected
`,' or `;' before '{' token
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: In member function
`void QVTKWidget::mouseEvent(QMouseEvent*)':
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:121: error:
incomplete type `QMetaObject' used in nested name specifier
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: In member function
`void QVTKWidget::cachedImageDirty()':
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:127: error:
incomplete type `QMetaObject' used in nested name specifier
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: In member function
`void QVTKWidget::cachedImageClean()':
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:133: error:
incomplete type `QMetaObject' used in nested name specifier
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: At global scope:
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:155: error: `const
QMetaObject QVTKInteractor::staticMetaObject' is not a static member of
`class QVTKInteractor'
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:155: error: variable
`const QMetaObject QVTKInteractor::staticMetaObject' has initializer but
incomplete type
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:161: error:
prototype for `const QMetaObject* QVTKInteractor::metaObject() const' does
not match any in class `QVTKInteractor'
/home/kublai/VTK-build/GUISupport/Qt/../../../VTK_CVS/VTK/GUISupport/Qt/QVTKWidget.h:257:
error: candidate is: virtual QMetaObject* QVTKInteractor::metaObject() const
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:161: error: `const
QMetaObject* QVTKInteractor::metaObject() const' and `virtual QMetaObject*
QVTKInteractor::metaObject() const' cannot be overloaded
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: In member function
`const QMetaObject* QVTKInteractor::metaObject() const':
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:162: error: cannot
convert `QMetaObject*(*)()' to `const QMetaObject*' in return
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: At global scope:
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:166: error: no
`void* QVTKInteractor::qt_metacast(const char*)' member function declared in
class `QVTKInteractor'
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: In member function
`void* QVTKInteractor::qt_metacast(const char*)':
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:172: error:
`qt_metacast' is not a member of `QObject'
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx: At global scope:
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:175: error: `int
QVTKInteractor::qt_metacall' is not a static member of `class
QVTKInteractor'
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:175: error:
incomplete type `QMetaObject' used in nested name specifier
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:175: error: expected
primary-expression before "int"
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:175: error: expected
primary-expression before "void"
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:176: error:
initializer expression list treated as compound expression
/home/kublai/VTK-build/GUISupport/Qt/moc_QVTKWidget.cxx:176: error: expected
`,' or `;' before '{' token
make[5]: *** [moc_QVTKWidget.o] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Qt] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_GUISupport] Error 2
make: *** [default_target] Error 2
----------------------------------------------------
Would be glad if anyone can help me on this
--
Regards
Till
**********************************************
Der Benutzer ist eine nicht zu
tolerierende Quelle der Unsicherheit
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051216/65166e16/attachment.htm>
More information about the vtkusers
mailing list