[vtkusers] VTK 5.1 Mesa+Offscreen compilation problem

Rasmus Hemph rasmus.hemph at chalmers.se
Tue Nov 21 10:07:29 EST 2006


Hi all,
I am having problems compiling VTK from cvs (5.1) with 
offscreen-rendering using Mesa. With the 5.0 version I had no problem. 
This is the error message I get:

usr/local/src/VTK/Rendering/vtkOpenGLPainterDeviceAdapter.cxx:248: 
error: no 'int vtkMesaPainterDeviceAdapter::IsAttributesSupported(int)' 
member f                              unction declared in class 
'vtkMesaPainterDeviceAdapter'
/usr/local/src/VTK/Rendering/vtkMesaPainterDeviceAdapter.cxx: In static 
member function 'static vtkMesaPainterDeviceAdapter* 
vtkMesaPainterDeviceAda                              pter::New()':
/usr/local/src/VTK/Rendering/vtkMesaPainterDeviceAdapter.cxx:37: error: 
cannot allocate an object of abstract type 'vtkMesaPainterDeviceAdapter'
/usr/local/src/VTK/Rendering/vtkMesaPainterDeviceAdapter.h:38: note: 
because the following virtual functions are pure within 
'vtkMesaPainterDevice                              Adapter':
/usr/local/src/VTK/Rendering/vtkPainterDeviceAdapter.h:76: note: 
virtual int vtkPainterDeviceAdapter::IsAttributesSupported(int)
make[2]: *** 
[Rendering/CMakeFiles/vtkRendering.dir/vtkMesaPainterDeviceAdapter.o] 
Error 1
make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2

I am using Debian linux with gcc-4.1.2 for compilation. Any ideas?

Best regards

Rasmus Hemph



More information about the vtkusers mailing list