[Paraview] 3.12.0-RC3: could not open source file "GL/gl.h" compiling vtkIceTSynchronizedRenderers.cxx
Kevin H. Hobbs
hobbsk at ohio.edu
Mon Nov 7 05:36:07 EST 2011
On 11/05/2011 06:13 AM, Takuya OSHIMA wrote:
> Hi,
>
> I tried to build the 3.12.0 RC3 with MesaLib-7.11 (OSMesa) on a RHEL
> 5.1 headless cluster and got an error:
>
> /nfs/work2/v14/v14006/src/ParaView-3.12.0-RC3/VTK/Rendering/vtkOpenGL.h(26): catastrophic error: could not open source file "GL/gl.h"
> # include <GL/gl.h> // Include OpenGL API.
> ^
>
> compilation aborted for /nfs/work2/v14/v14006/src/ParaView-3.12.0-RC3/ParaViewCore/ClientServerCore/vtkIceTSynchronizedRenderers.cxx (code 4)
> make[2]: *** [ParaViewCore/ClientServerCore/CMakeFiles/vtkPVClientServerCore.dir/vtkIceTSynchronizedRenderers.cxx.o] Error 4
>
> Looking into ParaViewCore/ClientServerCore/CMakeLists.txt I found
> nothing that specifies ${OPENGL_INCLUDE_DIR} as opposed to the old
> ParaView-3.10.1/Servers/Filters/CMakeLists.txt (where
> vtkIceTSynchronizedRenderers.cxx had been in) having
>
I build PareView with OSMesa from their git repositories every
night.
Could you please post your CMakeCache.txt to a public server or
tell us the CMake variables you set?
The OSMesa related variables I set are :
OPENGL_INCLUDE_DIR:PATH=/home/kevin/mesa_osmesa/include
OPENGL_gl_LIBRARY:FILEPATH=
OPENGL_glu_LIBRARY:FILEPATH=/home/kevin/mesa_osmesa/lib/libGLU.so
VTK_OPENGL_HAS_OSMESA:BOOL=ON
OSMESA_INCLUDE_DIR:PATH=/home/kevin/mesa_osmesa/include
OSMESA_LIBRARY:FILEPATH=/home/kevin/mesa_osmesa/lib/libOSMesa.so
VTK_USE_OFFSCREEN:BOOL=ON
VTK_USE_X:BOOL=OFF
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: paraview_osmesa.cmake
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111107/54631477/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111107/54631477/attachment.pgp>
More information about the ParaView
mailing list