[Paraview] OSMesa Desired GL includes not used

Dominik Szczerba dominik at itis.ethz.ch
Sat Jul 2 02:46:26 EDT 2011


What system are you on?

Dominik

On Fri, Jul 1, 2011 at 11:24 PM, Kevin H. Hobbs <hobbsk at ohio.edu> wrote:
> When I build ParaView with OSMesa only GL/gl.h is not found.
>
> My build of mesa is installed in /home/kevin/mesa_osmesa.
>
> The system mesa headers are not installed.
>
> At the end of this e-mail, is the tail of the output of a verbose
> build There is no -I/home/kevin/mesa_osmesa to be found.
>
> If I install the system mesa-libGL-devel package ( required for
> qt-devel which I need for my mesa-xlib build ) the build
> succedes, so Paraview is not using the gl.h associated with the
> OSMesa library.
>
>
> [ 86%] Building CXX object
> ParaViewCore/ClientServerCore/CMakeFiles/vtkPVClientServerCore.dir/vtkIceTSynchronizedRenderers.cxx.o
> cd
> /home/kevin/kitware/ParaView_OSMesa_Build/ParaViewCore/ClientServerCore
> && /usr/lib64/ccache/c++   -DvtkPVClientServerCore_EXPORTS
> -DVTK_PYTHON_BUILD -DMPICH_IGNORE_CXX_SEEK -D_HPUX_SOURCE
> -Wno-deprecated -O3 -DNDEBUG -fPIC
> -I/home/kevin/kitware/ParaView/ParaViewCore/ClientServerCore
> -I/home/kevin/kitware/ParaView_OSMesa_Build
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Utilities
> -I/usr/include/python2.7
> -I/home/kevin/kitware/ParaView/Utilities/IceT/src/include
> -I/home/kevin/kitware/ParaView_OSMesa_Build/Utilities/IceT/src/include
> -I/home/kevin/kitware/ParaView/Utilities/VTKPythonWrapping/Executable
> -I/home/kevin/kitware/ParaView/ParaViewCore/Common
> -I/home/kevin/kitware/ParaView_OSMesa_Build/ParaViewCore/Common
> -I/home/kevin/kitware/ParaView/ParaViewCore/VTKExtensions
> -I/home/kevin/kitware/ParaView_OSMesa_Build/ParaViewCore/VTKExtensions
> -I/home/kevin/kitware/ParaView_OSMesa_Build/ParaViewCore/ClientServerCore
> -I/home/kevin/kitware/ParaView/VTK
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK
> -I/home/kevin/kitware/ParaView/VTK/Utilities
> -I/home/kevin/kitware/ParaView/VTK/Wrapping
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Wrapping
> -I/home/kevin/kitware/ParaView/VTK/Wrapping/Python
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Wrapping/Python
> -I/home/kevin/kitware/ParaView/VTK/Common
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Common
> -I/home/kevin/kitware/ParaView/VTK/Charts
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Charts
> -I/home/kevin/kitware/ParaView/VTK/Filtering
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Filtering
> -I/home/kevin/kitware/ParaView/VTK/GenericFiltering
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/GenericFiltering
> -I/home/kevin/kitware/ParaView/VTK/IO
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/IO
> -I/home/kevin/kitware/ParaView/VTK/Imaging
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Imaging
> -I/home/kevin/kitware/ParaView/VTK/Rendering
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Rendering
> -I/home/kevin/kitware/ParaView/VTK/Parallel
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Parallel
> -I/home/kevin/kitware/ParaView/VTK/Graphics
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Graphics
> -I/home/kevin/kitware/ParaView/VTK/Hybrid
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Hybrid
> -I/home/kevin/kitware/ParaView/VTK/VolumeRendering
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/VolumeRendering
> -I/home/kevin/kitware/ParaView/VTK/Widgets
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Widgets
> -I/home/kevin/kitware/ParaView/VTK/Infovis
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Infovis
> -I/home/kevin/kitware/ParaView/VTK/Views
> -I/home/kevin/kitware/ParaView_OSMesa_Build/VTK/Views
> -I/usr/include/openmpi-x86_64
> -I/home/kevin/kitware/ParaView/Utilities/VTKClientServer
> -I/home/kevin/kitware/ParaView_OSMesa_Build/Utilities/VTKClientServer
> -o
> CMakeFiles/vtkPVClientServerCore.dir/vtkIceTSynchronizedRenderers.cxx.o
> -c
> /home/kevin/kitware/ParaView/ParaViewCore/ClientServerCore/vtkIceTSynchronizedRenderers.cxx
> In file included from
> /home/kevin/kitware/ParaView_OSMesa_Build/VTK/Rendering/vtkgl.h:22:0,
>                 from
> /home/kevin/kitware/ParaView/ParaViewCore/ClientServerCore/vtkIceTSynchronizedRenderers.cxx:33:
> /home/kevin/kitware/ParaView/VTK/Rendering/vtkOpenGL.h:26:43:
> fatal error: GL/gl.h: No such file or directory
> compilation terminated.
> make[2]: ***
> [ParaViewCore/ClientServerCore/CMakeFiles/vtkPVClientServerCore.dir/vtkIceTSynchronizedRenderers.cxx.o]
> Error 1
> make[2]: Leaving directory
> `/home/kevin/kitware/ParaView_OSMesa_Build'
> make[1]: ***
> [ParaViewCore/ClientServerCore/CMakeFiles/vtkPVClientServerCore.dir/all]
> Error 2
> make[1]: Leaving directory
> `/home/kevin/kitware/ParaView_OSMesa_Build'
> make: *** [all] Error 2
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list