[Paraview] Compilation error

Berk Geveci berk.geveci at kitware.com
Wed Jul 9 13:32:59 EDT 2008


It sounds like you have the VTK_OPENGL_HAS_OSMESA option turned on. If
this is intentional, you should set OSMESA_LIBRARY to the right
library. I don't know what the library is called in debian. If this is
not intentional, make sure to turn that option off.

-berk


On Tue, Jul 8, 2008 at 4:22 PM, Ken Teague <kteague at pobox.com> wrote:
> ParaView v3.2.2
> Qt v4.3.5
> gcc v4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
> ccmake v2.4-patch 5
> Debian Etch
> amd64
>
> I get the following error when trying to compile ParaView v3.2.2
>
> Linking CXX executable ../../../../bin/GraphicsCxxTests
> /usr/src/projects/ParaView/bin/libvtkRendering.a(vtkXOpenGLRenderWindow.o):
> In function `vtkXOpenGLRenderWindow::MakeCurrent()':
> vtkXOpenGLRenderWindow.cxx:(.text+0x2d7b): undefined reference to
> `OSMesaMakeCurrent'
> /usr/src/projects/ParaView/bin/libvtkRendering.a(vtkXOpenGLRenderWindow.o):
> In function `vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, int)':
> vtkXOpenGLRenderWindow.cxx:(.text+0x58e0): undefined reference to
> `OSMesaCreateContext'
> /usr/src/projects/ParaView/bin/libvtkRendering.a(vtkXOpenGLRenderWindow.o):
> In function `vtkXOpenGLRenderWindow::DestroyOffScreenWindow()':
> vtkXOpenGLRenderWindow.cxx:(.text+0x5b6a): undefined reference to
> `OSMesaDestroyContext'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/GraphicsCxxTests] Error 1
> make[1]: ***
> [VTK/Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/all] Error 2
> make: *** [all] Error 2
>
> I'm not sure how to resolve this.  Can anyone provide some assistance?
> Many thanks in advance.
>
> - Ken
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list