Can you verify /nfs/v14/v14006/opt/Mesa-7.11/include contains "GL/gl.h"? It should if mesa built and installed correctly.
On Mon, Nov 7, 2011 at 6:22 AM, Takuya OSHIMA <osh...@eng.niigata-u.ac.jp>wrote: > Hi Kevin, > > Thaks for your comment. Here is my full CMake configuration. On thing > that may be noticed is that our cluster does not have GL/gl.h under > /usr/include (unlike some of modern Linux systems). > > cmake ../ParaView-3.12.0-RC3 \ > -DCMAKE_CXX_COMPILER=/opt/intel/Compiler/11.0/074/bin/intel64/icpc \ > -DCMAKE_C_COMPILER=/opt/intel/Compiler/11.0/074/bin/intel64/icc \ > -DCMAKE_INSTALL_PREFIX=/nfs/v14/v14006/opt/ParaView-3.12.0-RC3 \ > -DCMAKE_BUILD_TYPE=Release \ > -DBUILD_SHARED_LIBS=ON \ > -DBUILD_TESTING=OFF \ > -DPARAVIEW_BUILD_QT_GUI=OFF \ > -DPARAVIEW_ENABLE_PYTHON=ON \ > -DPARAVIEW_USE_MPI=ON \ > -DMPI_CXX_INCLUDE_PATH=/opt/itc/mpi/mpich-mx-intel11-shared/include \ > -DENABLE_MPI4PY=OFF \ > -DPARAVIEW_ENABLE_COPROCESSING=ON \ > -DVTK_OPENGL_HAS_OSMESA=ON \ > -DVTK_USE_X=OFF \ > -DOPENGL_gl_LIBRARY= \ > -DOPENGL_glu_LIBRARY=/nfs/v14/v14006/opt/Mesa-7.11/lib/libGLU.so \ > -DOPENGL_INCLUDE_DIR=/nfs/v14/v14006/opt/Mesa-7.11/include \ > -DOSMESA_INCLUDE_DIR=/nfs/v14/v14006/opt/Mesa-7.11/include \ > -DOSMESA_LIBRARY=/nfs/v14/v14006/opt/Mesa-7.11/lib/libOSMesa32.so \ > -DVTK_USE_OFFSCREEN=ON > > Takuya OSHIMA, Ph.D. > Faculty of Engineering, Niigata University > 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN > > From: "Kevin H. Hobbs" <hob...@ohio.edu> > Subject: Re: [Paraview] 3.12.0-RC3: could not open source file "GL/gl.h" > compiling vtkIceTSynchronizedRenderers.cxx > Date: Mon, 07 Nov 2011 05:36:07 -0500 > > > 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 > _______________________________________________ > 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