[vtkusers] Can't compile VTK with Mangled Mesa

Thomaz de Oliveira dos Reis thor27 at gmail.com
Thu Aug 14 19:24:58 EDT 2008


OK. Thanks! it worked.

Mangled mesa would be interesting to add, inside the application, an
option to switch between direct and indirect rendering.

But that way it's working pretty nice.

Thanks!

On Thu, Aug 14, 2008 at 9:23 AM, Berk Geveci <berk.geveci at kitware.com> wrote:
> You don't need mangled Mesa for this. Just download a software only
> Mesa version and point to that as if it is your OpenGL library. You
> can even do this at run-time by setting your LD_LIBRARY_PATH. Mangled
> Mesa is useful if you want the same application to swich between
> hardware accelerated OpenGL and software OpenGL at runtime (usually
> for offscreen rendering). However, since we added offscreen rendering
> support that directly uses the OpenGL drivers, mangled Mesa is not
> really needed anymore.
>
> -berk
>
>
> On Thu, Aug 14, 2008 at 8:07 AM, Thomaz de Oliveira dos Reis
> <thor27 at gmail.com> wrote:
>> Ok...
>>
>> The problem is that I'm having renderization problems with my Intel
>> Extreme Graphics 945GM and OpenGL over linux. The 3D image does not
>> get renderized (I only got a black square), but if I disable my openGL
>> acceleration on xorg.conf (with NoAccel "true"), the image is
>> perfectly renderized.
>>
>>
>> So, there is any way to force the application to not use my OpenGL
>> acceleration? As if I set it as NoAccel "true" ...
>>
>> thanks!
>>
>> On Wed, Aug 13, 2008 at 12:41 PM, Berk Geveci <berk.geveci at kitware.com> wrote:
>>> Hi Thomaz,
>>>
>>> We haven't been supporting mangled Mesa (neither have the Mesa folks
>>> really). We are planning to remove it alltogether from VTK unless
>>> someone in the community volunteers to take over its maintenance.
>>>
>>> VTK developers: Any volunteers? This would require setting up a
>>> dashboard and making sure that it works with cvs.
>>>
>>> Best,
>>> -berk
>>>
>>>
>>> On Fri, Aug 8, 2008 at 6:33 PM, Thomaz de Oliveira dos Reis
>>> <thor27 at gmail.com> wrote:
>>>> When I try to compile VTK with mangled mesa, I got this error:
>>>>
>>>> [ 70%] Building CXX object
>>>> Rendering/CMakeFiles/vtkRendering.dir/vtkMesaClipPlanesPainter.o
>>>> [ 70%] Building CXX object
>>>> Rendering/CMakeFiles/vtkRendering.dir/vtkMesaCoincidentTopologyResolutionPainter.o
>>>> [ 70%] Building CXX object
>>>> Rendering/CMakeFiles/vtkRendering.dir/vtkMesaDisplayListPainter.o
>>>> In file included from
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkMesaDisplayListPainter.cxx:32:
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:
>>>> In constructor 'vtkMesaDisplayListPainter::vtkMesaDisplayListPainter()':
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:39:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'DisplayListId'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:40:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'LastUsedTypeFlags'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:
>>>> In member function 'virtual void
>>>> vtkMesaDisplayListPainter::ReleaseGraphicsResources(vtkWindow*)':
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:54:
>>>> error: no matching function for call to
>>>> 'vtkMesaDisplayListPainter::ReleaseList()'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkMesaDisplayListPainter.h:45:
>>>> note: candidates are: void vtkMesaDisplayListPainter::ReleaseList(int)
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:
>>>> At global scope:
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:61:
>>>> error: prototype for 'void vtkMesaDisplayListPainter::ReleaseList()'
>>>> does not match any in class 'vtkMesaDisplayListPainter'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkMesaDisplayListPainter.h:45:
>>>> error: candidate is: void vtkMesaDisplayListPainter::ReleaseList(int)
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:
>>>> In member function 'void vtkMesaDisplayListPainter::ReleaseList()':
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:63:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'DisplayListId'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:65:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'DisplayListId'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:66:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'DisplayListId'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:
>>>> In member function 'virtual void
>>>> vtkMesaDisplayListPainter::RenderInternal(vtkRenderer*, vtkActor*,
>>>> long unsigned int)':
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:85:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'DisplayListId'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:86:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'BuildTime'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:87:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'BuildTime'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:88:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'BuildTime'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:90:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'BuildTime'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:91:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'LastUsedTypeFlags'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:94:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'DisplayListId'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:95:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'DisplayListId'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:100:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'BuildTime'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:102:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'LastUsedTypeFlags'
>>>> /home/thor27/invesalius/2/VTK/Rendering/vtkOpenGLDisplayListPainter.cxx:110:
>>>> error: 'class vtkMesaDisplayListPainter' has no member named
>>>> 'DisplayListId'
>>>> make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkMesaDisplayListPainter.o]
>>>> Error 1
>>>> make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>> any ideas?
>>>> _______________________________________________
>>>> This is the private VTK discussion list.
>>>> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>
>>>
>>
>



More information about the vtkusers mailing list