[vtkusers] vtkqt1.7.2 compile problem
kavec at messi.uku.fi
kavec at messi.uku.fi
Thu Mar 3 09:56:16 EST 2005
Hello,
I am trying to compile vtkqt1.7.2 on Gentoo linux using gcc-3.3.4. I downloaded
VTK from cvs last Monday. I have qt-3.3.4. Compilation stop with following error:
***************************************
Building object file vtkQGLRenderWindow.o...
c++ -o vtkQGLRenderWindow.o -Wno-deprecated -O2 -g -fomit-frame-pointer -pipe
-I/opt/VTK_bin -I/opt/VTK_bin/Utilities -I/opt/VTK/Hybrid -I/opt/VTK/Patented
-I/opt/VTK/Rendering -I/opt/VTK/Rendering/Testing/Cxx -I/opt/VTK/IO
-I/opt/VTK/Imaging -I/opt/VTK/Graphics -I/opt/VTK/GenericFiltering
-I/opt/VTK/Filtering -I/opt/VTK/Common -I/opt/VTK/Utilities
-I/opt/VTK/Common/Testing/Cxx -I/opt/VTK_bin/Utilities/DICOMParser
-I/opt/VTK/Utilities/DICOMParser -I/opt/VTK_bin/Utilities/freetype/include
-I/opt/VTK/Utilities/freetype/include -I/opt/VTK/GUISupport/Qt
-I/usr/X11R6/include -I/usr/qt/3/include -I/opt/VTK -I/opt/VTK/Parallel
-I/opt/VTK/Utilities/zlib -I/usr/local/lib/VTK-I/usr/local/include/VTK
-I/usr/local/qt/lib -c /opt/vtkqt1.7.2/VTK4.4/vtkQGLRenderWindow.cpp
In file included from /opt/vtkqt1.7.2/VTK4.4/vtkQGLRenderWindow.cpp:43:
/opt/vtkqt1.7.2/VTK4.4/vtkQGLRenderWindow.h: In static
member function `static vtkQGLRenderWindow* vtkQGLRenderWindow::New()':
/opt/vtkqt1.7.2/VTK4.4/vtkQGLRenderWindow.h:25: error: cannot
allocate an object of type `vtkQGLRenderWindow'
/opt/vtkqt1.7.2/VTK4.4/vtkQGLRenderWindow.h:25: error:
because the following virtual functions are abstract:
/opt/VTK/Common/vtkWindow.h:64: error: virtual int* vtkWindow::GetScreenSize()
/opt/VTK/Rendering/vtkRenderWindow.h:108: error: virtual void
vtkRenderWindow::Finalize()
make[1]: *** [vtkQGLRenderWindow.o] Error 1
*****************************************
The vtkqt1.7.2 package contains several folders, I assume for different VTK
versions. I chose the most recent one, VTK_4.4. and I used "CMakeList
Examples/CMakeList2.txt" to generate Makefile.
Any help is greatly appreciated.
Martin
More information about the vtkusers
mailing list