I filed this as a bug:
http://paraview.org/Bug/view.php?id=12711

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN

From: Takuya OSHIMA <osh...@eng.niigata-u.ac.jp>
Subject: [Paraview] 3.12.0-RC3: could not open source file "GL/gl.h" compiling 
vtkIceTSynchronizedRenderers.cxx
Date: Sat, 05 Nov 2011 19:13:42 +0900 (JST)

> 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
> 
> # The following was copy/paste from vtkIncludeDirectories.cmake
> # OpenGL include directories.
> IF(APPLE)
>   IF(VTK_USE_X OR VTK_OPENGL_HAS_OSMESA)
>     INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
>   ENDIF(VTK_USE_X OR VTK_OPENGL_HAS_OSMESA)
> ELSE(APPLE)
>   INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
> ENDIF(APPLE)
> 
> so perhaps we need something similar around (line 116)
> 
> IF (PARAVIEW_USE_ICE_T AND VTK_USE_MPI)
>    SET (Kit_SRCS
>      ${Kit_SRCS}
>      vtkIceTSynchronizedRenderers.cxx)
> .....
> ENDIF (PARAVIEW_USE_ICE_T AND VTK_USE_MPI)
> 
> of ParaViewCore/ClientServerCore/CMakeLists.txt ?
> 
> Takuya OSHIMA, Ph.D.
> Faculty of Engineering, Niigata University
> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
> _______________________________________________
> 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
_______________________________________________
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

Reply via email to