On Fri, 2009-06-12 at 12:42 +0200, Ivo Tamboer wrote: > There is an error in the Cmake configuration scripts which disables > the ability
> ../../bin/libQmitk.so: undefined reference to > `QVTKWidget::QVTKWidget(QWidget*, > QFlags<Qt::WindowType>)' > ../../bin/libQmitk.so: undefined reference to `QVTKWidget::qt_metacast(char > const*)' > ../../bin/libQmitk.so: undefined reference to `non-virtual thunk to > QVTKWidget::paintEngine() const' > collect2: ld gaf exit-status 1 terug > make[2]: *** [bin/Step1] Fout 1 > make[1]: *** [Q4Applications/Tutorial/CMakeFiles/Step1.dir/all] Fout 2 > make: *** [all] Fout 2 > > This machine is an up to date Fedora 10 machine. vtk.i386, vtk-devel.i386 and > vtk-qt.i386 have been explicitly installed. through the package manager. A > search on the internet in general showed a similar error which attributed it > to problems with the QT support in VTK. I downloaded the sources for VTK to > compile it myself, but I did not find a QT option in the ccmake menu. > Hi Nido, a colleague here wants to upgrade to Fedora 11 shortly, maybe he can test the packages provided with this distribution. If you build VTK yourself, make sure that you use the same Qt version for building VTK and MITK. The QVTKWidget option of VTK is hidden in the "advanced options". You have to set VTK_BUILD_GUI_SUPPORT, then configure again, then enable VTK_USE_QT. I'm not sure about the variable names, but you'll find the correct ones. Could it be that you use Qt4 and the Fedora VTK packages were built against Qt3? Regards Daniel -- Dipl.-Inform. Med. Daniel Maleike Phone: +49 6221 42 2326 Deutsches Krebsforschungszentrum Im Neuenheimer Feld 280 Medical and Biological Informatics (E130) 69120 Heidelberg ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
