[Insight-users] Re: qt + itk

Mathieu Malaterre Mathieu.Malaterre@creatis.insa-lyon.fr
Fri, 07 Mar 2003 09:29:26 +0100


Marcelo,

	Please have a look at:
http://www.itk.org/pipermail/insight-users/2002-December/001836.html

	I think you have to upgrade your version of cmake.

Let me know if this time it works !
thanks,
mathieu


MarceloCostaOliveira Oliveira wrote:
> Hi, Mathieu
> 
> Sorry to upset again, but when i try to do something i don't give up. 
> make clean fail and then i update my itk ( using CVS ) and i download 
> again the InsightApplication ( using CVS ).
> 
> And this problems happens. Can be a ITK bug ??
> 
> Tanks a lot for your help.
> 
> 
> 
> 
> (none):/usr/local/Insight/InsightApplications_bin/QT_bin# make
> Building Custom command 
> /usr/local/Insight/InsightApplications_bin/QT_bin/QtSlicerGUI.h...
> Building Custom command 
> /usr/local/Insight/InsightApplications_bin/QT_bin/QtSlicerGUI.cxx...
> Building Custom command 
> /usr/local/Insight/InsightApplications_bin/QT_bin/moc_QtSlicerGUI.cxx...
> Building Custom command 
> /usr/local/Insight/InsightApplications_bin/QT_bin/QtSlicerHelpGUI.h...
> Building Custom command 
> /usr/local/Insight/InsightApplications_bin/QT_bin/QtSlicerHelpGUI.cxx...
> Building Custom command 
> /usr/local/Insight/InsightApplications_bin/QT_bin/moc_QtSlicerHelpGUI.cxx... 
> 
> Building Custom command 
> /usr/local/Insight/InsightApplications_bin/QT_bin/moc_QtGlSliceView.cxx...
> Building dependencies cmake.check_depends...
> Building object file QtSlicerTest.o...
> Building object file QtGlSliceView.o...
> Building object file QtSlicer.o...
> Building object file QtSlicerGUI.o...
> Building object file moc_QtSlicerGUI.o...
> Building object file QtSlicerHelpGUI.o...
> Building object file moc_QtSlicerHelpGUI.o...
> Building object file moc_QtGlSliceView.o...
> Building executable QtSlicer...
> QtGlSliceView.o: In function `QtGlSliceView::QtGlSliceView(QWidget *, 
> char const *)':
> QtGlSliceView.o(.text+0x1b): undefined reference to 
> `QGLWidget::QGLWidget(QWidget *, char const *, QGLWidget const *, 
> unsigned int)'
> QtGlSliceView.o(.text+0x2c7): undefined reference to 
> `QGLWidget::~QGLWidget(void)'
> QtGlSliceView.o: In function `QtGlSliceView::QtGlSliceView(QGLFormat, 
> QWidget *, char const *)':
> QtGlSliceView.o(.text+0x30b): undefined reference to 
> `QGLWidget::QGLWidget(QGLFormat const &, QWidget *, char const *, 
> QGLWidget const *, unsigned int)'
> QtGlSliceView.o(.text+0x517): undefined reference to 
> `QGLWidget::~QGLWidget(void)'
> moc_QtGlSliceView.o: In function `QtGlSliceView::initMetaObject(void)':
> moc_QtGlSliceView.o(.text+0x32): undefined reference to 
> `QGLWidget::className(void) const'
> moc_QtGlSliceView.o: In function `QtGlSliceView::staticMetaObject(void)':
> moc_QtGlSliceView.o(.text+0xf6): undefined reference to 
> `QGLWidget::staticMetaObject(void)'
> moc_QtGlSliceView.o(.rodata+0x6bc): undefined reference to `QGLWidget 
> type_info node'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x88): 
> undefined reference to `QGLWidget::setMouseTracking(bool)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x11c): 
> undefined reference to `QGLWidget::paintEvent(QPaintEvent *)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x124): 
> undefined reference to `QGLWidget::resizeEvent(QResizeEvent *)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x18c): 
> undefined reference to `QGLWidget::makeCurrent(void)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x190): 
> undefined reference to `QGLWidget::swapBuffers(void)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x194): 
> undefined reference to `QGLWidget::setFormat(QGLFormat const &)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x198): 
> undefined reference to `QGLWidget::setContext(QGLContext *, QGLContext 
> const
> *, bool)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x19c): 
> undefined reference to `QGLWidget::renderPixmap(int, int, bool)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x1a0): 
> undefined reference to `QGLWidget::makeOverlayCurrent(void)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x1a4): 
> undefined reference to `QGLWidget::updateGL(void)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x1a8): 
> undefined reference to `QGLWidget::updateOverlayGL(void)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x1b8): 
> undefined reference to `QGLWidget::initializeOverlayGL(void)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x1bc): 
> undefined reference to `QGLWidget::resizeOverlayGL(int, int)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x1c0): 
> undefined reference to `QGLWidget::paintOverlayGL(void)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x1c4): 
> undefined reference to `QGLWidget::glInit(void)'
> moc_QtGlSliceView.o(.gnu.linkonce.d.__vt_13QtGlSliceView+0x1c8): 
> undefined reference to `QGLWidget::glDraw(void)'
> moc_QtGlSliceView.o: In function `QtGlSliceView::~QtGlSliceView(void)':
> moc_QtGlSliceView.o(.gnu.linkonce.t._._13QtGlSliceView+0x72): undefined 
> reference to `QGLWidget::~QGLWidget(void)'
> moc_QtGlSliceView.o: In function `QtGlSliceView type_info function':
> moc_QtGlSliceView.o(.gnu.linkonce.t.__tf13QtGlSliceView+0x10): undefined 
> reference to `QGLWidget type_info function'
> collect2: ld returned 1 exit status
> make[1]: *** [QtSlicer] Error 1
> make: *** [default_target] Error 2
> (none):/usr/local/Insight/InsightApplications_bin/QT_bin#



-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/