<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I use pv3 with offscreen rendering regularly, but I do not use
Mangled-mesa.<br>
Just set VTK_USE_OFFSCREEN,<br>
VTK_OSMESA_HAS_OFFSCREEN (can't remember the exact names)<br>
and point all the opengl stuff to <br>
/opt/Mesa-6.4.2/...<br>
<br>
using mangled mesa is (AFAIK) only useful if you are linking with both
normal GL and mesa GL at the same time (to avoid name conflicts), if
you only want off screen, then all you are doing is making things harder<br>
<br>
When compiled remember to use<br>
pvserver --use-offscreen-rendering (to avoid the X Display can't find
etc errors)<br>
<br>
JB<br>
<blockquote
 cite="mida7479ce00705160015o1c85155by4192538521ae53e2@mail.gmail.com"
 type="cite">Hello,<br>
  <br>
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:<br>
  <br>
&nbsp;MANGLED_MESA_INCLUDE_DIR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/Mesa-6.4.2/include<br>
&nbsp;MANGLED_MESA_LIBRARY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/Mesa-6.4.2/lib/libMGL.a<br>
&nbsp;MANGLED_OSMESA_INCLUDE_DIR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/Mesa-6.4.2/include<br>
&nbsp;MANGLED_OSMESA_LIBRARY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/Mesa-
6.4.2/lib/libMOSMesa.a<br>
&nbsp;VTK_USE_MANGLED_MESA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ON<br>
  <br>
Some compilation errors arise:<br>
  <br clear="all">
[ 43%]
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLPainterDeviceAdapter.cxx:248:
error: no 'int vtkMesaPainterDeviceAdapter::IsAttributesSupported(int)'
member function declared in class 'vtkMesaPainterDeviceAdapter'
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkMesaPainterDeviceAdapter.cxx:
In static member function 'static vtkMesaPainterDeviceAdapter*
vtkMesaPainterDeviceAdapter::New()':<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkMesaPainterDeviceAdapter.cxx:37:
error: cannot allocate an object of abstract type
'vtkMesaPainterDeviceAdapter'
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkMesaPainterDeviceAdapter.h:38:
note:&nbsp;&nbsp; because the following virtual functions are pure within
'vtkMesaPainterDeviceAdapter':<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkPainterDeviceAdapter.h:76:
note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; virtual int
vtkPainterDeviceAdapter::IsAttributesSupported(int)
  <br>
  <br>
[ 64%] Built target vtkGraphicsCS<br>
Building CXX object
VTK/Filtering/Testing/Cxx/CMakeFiles/FilteringCxxTests.dir/otherCellPosition.o<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:
In constructor 'vtkMesaRenderWindow::vtkMesaRenderWindow()':
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:61:
error: 'class vtkMesaRenderWindow' has no member named
'OffScreenUseFrameBuffer'<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:63:
error: 'class vtkMesaRenderWindow' has no member named 'BackLeftBuffer'
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:64:
error: 'class vtkMesaRenderWindow' has no member named 'BackRightBuffer'<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:65:
error: 'class vtkMesaRenderWindow' has no member named
'FrontLeftBuffer'
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:
At global scope:<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:81:
error: no 'unsigned int vtkMesaRenderWindow::GetBackLeftBuffer()'
member function declared in class 'vtkMesaRenderWindow'
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:
In member function 'unsigned int
vtkMesaRenderWindow::GetBackLeftBuffer()':<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:83:
error: 'class vtkMesaRenderWindow' has no member named 'BackLeftBuffer'
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:
At global scope:<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:93:
error: no 'unsigned int vtkMesaRenderWindow::GetBackRightBuffer()'
member function declared in class 'vtkMesaRenderWindow'
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:
In member function 'unsigned int
vtkMesaRenderWindow::GetBackRightBuffer()':<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:95:
error: 'class vtkMesaRenderWindow' has no member named
'BackRightBuffer'
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:
At global scope:<br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:105:
error: no 'unsigned int vtkMesaRenderWindow::GetFrontLeftBuffer()'
member function declared in class 'vtkMesaRenderWindow'
  <br>
/data/CFD/develop/opt/ParaView3/VTK/Rendering/vtkOpenGLRenderWindow.cxx:
In member function 'unsigned int
vtkMesaRenderWindow::GetFrontLeftBuffer()':<br>
  <br>
Can somebody please help me? Is it still possible to use offscreen
rendering with ParaView?
  <br>
  <br>
Many thanks,<br>
-Marzio<br>
  <br>
-- <br>
  <a href="http://marzio.sala.googlepages.com">http://marzio.sala.googlepages.com</a>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
ParaView mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="78">-- 
John Biddiscombe,                            <a class="moz-txt-link-freetext" href="email:biddisco">email:biddisco</a> @ cscs.ch
<a class="moz-txt-link-freetext" href="http://www.cscs.ch/about/BJohn.php">http://www.cscs.ch/about/BJohn.php</a>
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82</pre>
</body>
</html>