[Paraview] PV3 pvserver OSX Offscreen

Kevin H. Hobbs hobbsk at ohiou.edu
Tue Oct 9 08:18:08 EDT 2007


On Mon, 2007-10-08 at 10:42 -0600, clinton at elemtech.com wrote:
> Oh, its not building that file....
> How about inserting this
> 
>     IF (VTK_OPENGL_HAS_OSMESA  AND  OSMESA_LIBRARY)
>       SET(KitOpenGL_SRCS ${KitOpenGL_SRCS} vtkOSOpenGLRenderWindow.cxx)
>       SET (KIT_LIBS ${KIT_LIBS} ${OSMESA_LIBRARY} )
>     ENDIF (VTK_OPENGL_HAS_OSMESA  AND  OSMESA_LIBRARY)
> 
> In VTK/Rendering/CMakeLists.txt after the VTK_USE_X condition after line 371.
> 
> Clint

With Clint's suggested changes above the vtkRendering library was
successfully built.

However the build stopped at :

	[ 84%] Building CXX object Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkIceTRenderManager.o
	In file included from /home/ohu0210/kitware/ParaView3_Build/VTK/Rendering/vtkgl.h:22,
	                 from /home/ohu0210/kitware/ParaView3/Servers/Filters/vtkIceTRenderManager.cxx:42:
	/home/ohu0210/kitware/ParaView3/VTK/Rendering/vtkOpenGL.h:24:43: GL/gl.h: No such file or directory

I have set :

	OPENGL_INCLUDE_DIR:PATH=/home/ohu0210/Mesa-7.0.1/include

which does have GL/gl.h

I set CMAKE_VERBOSE_MAKEFILE:BOOL=ON and reran make. I get the (edited
for e-mail) output below. I do not see my Mesa include directory.

	[ 84%] Building CXX object Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkIceTRenderManager.o
	/usr/bin/c++   -DvtkPVFilters_EXPORTS -I/usr/local/openmpi-1.1.2/include/openmpi/ 
		-Wno-deprecated -noprebind -fPIC 
		-I/home/ohu0210/kitware/ParaView3/Servers/Filters 
		-I/home/ohu0210/kitware/ParaView3_Build 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Utilities 
		-I/home/ohu0210/kitware/ParaView3_Build/Servers/Filters 
		-I/home/ohu0210/kitware/ParaView3/Servers/Common 
		-I/home/ohu0210/kitware/ParaView3/Utilities/hdf5 
		-I/home/ohu0210/kitware/ParaView3_Build/Utilities/hdf5 
		-I/home/ohu0210/kitware/ParaView3/VTK 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK 
		-I/home/ohu0210/kitware/ParaView3/VTK/Utilities 
		-I/home/ohu0210/kitware/ParaView3/VTK/Common 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Common 
		-I/home/ohu0210/kitware/ParaView3/VTK/Filtering 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Filtering 
		-I/home/ohu0210/kitware/ParaView3/VTK/GenericFiltering 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/GenericFiltering 
		-I/home/ohu0210/kitware/ParaView3/VTK/IO 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/IO 
		-I/home/ohu0210/kitware/ParaView3/VTK/Imaging 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Imaging 
		-I/home/ohu0210/kitware/ParaView3/VTK/Rendering 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Rendering 
		-I/home/ohu0210/kitware/ParaView3/VTK/Parallel 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Parallel 
		-I/home/ohu0210/kitware/ParaView3/VTK/Graphics 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Graphics 
		-I/home/ohu0210/kitware/ParaView3/VTK/Hybrid 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Hybrid 
		-I/home/ohu0210/kitware/ParaView3/VTK/VolumeRendering 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/VolumeRendering 
		-I/home/ohu0210/kitware/ParaView3/VTK/Widgets 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Widgets 
		-I/home/ohu0210/kitware/ParaView3/VTK/Infovis 
		-I/home/ohu0210/kitware/ParaView3_Build/VTK/Infovis 
		-I/home/ohu0210/kitware/ParaView3/Utilities/Xdmf2/vtk 
		-I/home/ohu0210/kitware/ParaView3_Build/Utilities/Xdmf2/vtk 
		-I/usr/local/openmpi-1.1.2/include 
		-I/home/ohu0210/kitware/ParaView3/Utilities/IceT/src/include 
		-I/home/ohu0210/kitware/ParaView3_Build/Utilities/IceT/src/include 
		-I/home/ohu0210/kitware/ParaView3/Utilities/VTKClientServer 
		-I/home/ohu0210/kitware/ParaView3_Build/Utilities/VTKClientServer   
		-DVTK_PYTHON_BUILD 
		-DMPICH_IGNORE_CXX_SEEK 
		-o Servers/Filters/CMakeFiles/vtkPVFilters.dir/vtkIceTRenderManager.o 
		-c /home/ohu0210/kitware/ParaView3/Servers/Filters/vtkIceTRenderManager.cxx
	In file included from /home/ohu0210/kitware/ParaView3_Build/VTK/Rendering/vtkgl.h:22,
	                 from /home/ohu0210/kitware/ParaView3/Servers/Filters/vtkIceTRenderManager.cxx:42:
	/home/ohu0210/kitware/ParaView3/VTK/Rendering/vtkOpenGL.h:24:43: GL/gl.h: No such file or directory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://public.kitware.com/pipermail/paraview/attachments/20071009/752b1dae/attachment.pgp


More information about the ParaView mailing list