[Paraview] ParaView 3 with off-screen support

Marzio Sala marzio.sala at gmail.com
Wed May 16 03:15:04 EDT 2007


Hello,

I am trying to compile ParaView 3 with support for off-screen rendering. I
use Mesa 6.4.2 and a CVS version of ParaView3 that is about 3 days old. I
have compiled the mangled mesa. In ccmake, I have set:

 MANGLED_MESA_INCLUDE_DIR         /opt/Mesa-6.4.2/include
 MANGLED_MESA_LIBRARY             /opt/Mesa-6.4.2/lib/libMGL.a
 MANGLED_OSMESA_INCLUDE_DIR      /opt/Mesa-6.4.2/include
 MANGLED_OSMESA_LIBRARY           /opt/Mesa-6.4.2/lib/libMOSMesa.a
 VTK_USE_MANGLED_MESA             ON

Some compilation errors arise:

[ 43%]
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLPainterDeviceAdapter.cxx:248:
error: no 'int vtkMesaPainterDeviceAdapter::IsAttributesSupported(int)'
member function declared in class 'vtkMesaPainterDeviceAdapter'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkMesaPainterDeviceAdapter.cxx:
In static member function 'static vtkMesaPainterDeviceAdapter*
vtkMesaPainterDeviceAdapter::New()':
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkMesaPainterDeviceAdapter.cxx:37:
error: cannot allocate an object of abstract type
'vtkMesaPainterDeviceAdapter'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkMesaPainterDeviceAdapter.h:38:
note:   because the following virtual functions are pure within
'vtkMesaPainterDeviceAdapter':
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkPainterDeviceAdapter.h:76:
note:       virtual int vtkPainterDeviceAdapter::IsAttributesSupported(int)

[ 64%] Built target vtkGraphicsCS
Building CXX object
VTK/Filtering/Testing/Cxx/CMakeFiles/FilteringCxxTests.dir/otherCellPosition.o
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx: In
constructor 'vtkMesaRenderWindow::vtkMesaRenderWindow()':
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:61:
error: 'class vtkMesaRenderWindow' has no member named
'OffScreenUseFrameBuffer'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:63:
error: 'class vtkMesaRenderWindow' has no member named 'BackLeftBuffer'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:64:
error: 'class vtkMesaRenderWindow' has no member named 'BackRightBuffer'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:65:
error: 'class vtkMesaRenderWindow' has no member named 'FrontLeftBuffer'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx: At
global scope:
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:81:
error: no 'unsigned int vtkMesaRenderWindow::GetBackLeftBuffer()' member
function declared in class 'vtkMesaRenderWindow'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx: In
member function 'unsigned int vtkMesaRenderWindow::GetBackLeftBuffer()':
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:83:
error: 'class vtkMesaRenderWindow' has no member named 'BackLeftBuffer'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx: At
global scope:
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:93:
error: no 'unsigned int vtkMesaRenderWindow::GetBackRightBuffer()' member
function declared in class 'vtkMesaRenderWindow'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx: In
member function 'unsigned int vtkMesaRenderWindow::GetBackRightBuffer()':
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:95:
error: 'class vtkMesaRenderWindow' has no member named 'BackRightBuffer'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx: At
global scope:
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:105:
error: no 'unsigned int vtkMesaRenderWindow::GetFrontLeftBuffer()' member
function declared in class 'vtkMesaRenderWindow'
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx: In
member function 'unsigned int vtkMesaRenderWindow::GetFrontLeftBuffer()':

Can somebody please help me? Is it still possible to use offscreen rendering
with ParaView?

Many thanks,
-Marzio

-- 
http://marzio.sala.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070516/547cf7de/attachment.html


More information about the ParaView mailing list