[Paraview] Re: PV3 Compile Problem (SOLVED)

Randall Hand randall.hand at gmail.com
Fri May 18 13:38:20 EDT 2007


Ok.. I figured out what was wrong. The offending line was this: (running
make with VERBOSE=1)

[ 80%] Building CXX object
Utilities/VTKClientServer/Xdmf/CMakeFiles/vtkXdmfCS.dir/vtkXdmfReaderClientServer.o
/usr/local/ofed/mpi/gcc/openmpi-1.1.1-1/bin/mpicxx   -DvtkXdmfCS_EXPORTS
-Wno-deprecated -O3 -DNDEBUG -fPIC
-I/viz/home/rhand/src/PV3/ParaView3/Utilities/VTKClientServer/Xdmf
-I/viz/home/rhand/src/PV3/build
-I/viz/home/rhand/src/PV3/build/VTK/Utilities
-I/viz/home/rhand/src/PV3/ParaView3/Utilities/VTKClientServer
-I/viz/home/rhand/src/PV3/build/Utilities/VTKClientServer
-I/viz/home/rhand/src/PV3/ParaView3/VTK -I/viz/home/rhand/src/PV3/build/VTK
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Utilities
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Common
-I/viz/home/rhand/src/PV3/build/VTK/Common
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Filtering
-I/viz/home/rhand/src/PV3/build/VTK/Filtering
-I/viz/home/rhand/src/PV3/ParaView3/VTK/GenericFiltering
-I/viz/home/rhand/src/PV3/build/VTK/GenericFiltering
-I/viz/home/rhand/src/PV3/ParaView3/VTK/IO
-I/viz/home/rhand/src/PV3/build/VTK/IO
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Imaging
-I/viz/home/rhand/src/PV3/build/VTK/Imaging
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Rendering
-I/viz/home/rhand/src/PV3/build/VTK/Rendering
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Parallel
-I/viz/home/rhand/src/PV3/build/VTK/Parallel
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Graphics
-I/viz/home/rhand/src/PV3/build/VTK/Graphics
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Hybrid
-I/viz/home/rhand/src/PV3/build/VTK/Hybrid
-I/viz/home/rhand/src/PV3/ParaView3/VTK/VolumeRendering
-I/viz/home/rhand/src/PV3/build/VTK/VolumeRendering
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Widgets
-I/viz/home/rhand/src/PV3/build/VTK/Widgets
-I/viz/home/rhand/src/PV3/ParaView3/VTK/Infovis
-I/viz/home/rhand/src/PV3/build/VTK/Infovis -I/viz/home/rhand/local/include
-I/viz/home/rhand/src/PV3/ParaView3/Utilities/Xdmf/vtk
-I/viz/home/rhand/src/PV3/build/Utilities/Xdmf/vtk
-DPARAVIEW_BUILD_SHARED_LIBS -DVTK_PYTHON_BUILD -DMPICH_IGNORE_CXX_SEEK -o
Utilities/VTKClientServer/Xdmf/CMakeFiles/vtkXdmfCS.dir/vtkXdmfReaderClientServer.o
-c
/viz/home/rhand/src/PV3/build/Utilities/VTKClientServer/Xdmf/vtkXdmfReaderClientServer.cxx
/viz/home/rhand/src/PV3/build/Utilities/VTKClientServer/Xdmf/vtkXdmfReaderClientServer.cxx:
In function `int vtkXdmfReaderCommand(vtkClientServerInterpreter*,
vtkObjectBase*, const char*, const vtkClientServerStream&,
vtkClientServerStream&)':
/viz/home/rhand/src/PV3/build/Utilities/VTKClientServer/Xdmf/vtkXdmfReaderClientServer.cxx:605:
error: 'class vtkXdmfReader' has no member named 'RemoveAllGrids'
gmake[2]: ***
[Utilities/VTKClientServer/Xdmf/CMakeFiles/vtkXdmfCS.dir/vtkXdmfReaderClientServer.o]
Error 1
gmake[2]: Leaving directory `/viz/home/rhand/src/PV3/build'
gmake[1]: *** [Utilities/VTKClientServer/Xdmf/CMakeFiles/vtkXdmfCS.dir/all]
Error 2
gmake[1]: Leaving directory `/viz/home/rhand/src/PV3/build'
gmake: *** [all] Error 2

The bold part is the offending portion.  The vtkXdmfReader.h file existing
in the source tree, but before that it also exists in the
/viz/home/rhand/local/include from a separate install I made of the Xdmf
reader for other VTK-only code I've written.  I moved the files into another
directory (temporarily) and the compile linked against the correct ones in
the Source Tree.  Any way this can be fixed in CMake?

-- 
----------------------------------------
Randall Hand
Visualization Scientist
ERDC MSRC-ITL

---------- Forwarded message ----------
From: Randall Hand <randall.hand at gmail.com>
Date: May 18, 2007 10:27 AM
Subject: PV3 Compile Problem
To: Paraview List <paraview at paraview.org>

I'm trying to compile paraView 3 with MPI & OSMesa support for some
client-server testing, but I'm running into the following problem late in
the compile:


/viz/home/rhand/src/PV3/build/Utilities/VTKClientServer/Xdmf/vtkXdmfReaderClientServer.cxx:
In function `int vtkXdmfReaderCommand(vtkClientServerInterpreter*,
vtkObjectBase*, const char*, const vtkClientServerStream&,
vtkClientServerStream&)':
/viz/home/rhand/src/PV3/build/Utilities/VTKClientServer/Xdmf/vtkXdmfReaderClientServer.cxx:605:
error: 'class vtkXdmfReader' has no member named 'RemoveAllGrids'
gmake[2]: ***
[Utilities/VTKClientServer/Xdmf/CMakeFiles/vtkXdmfCS.dir/vtkXdmfReaderClientServer.o]
Error 1
gmake[2]: *** Waiting for unfinished jobs....


I used the instructions on the Website for obtaining source from CVS (i
didn't see a source tarball).  is CVS broken at the moment?  A CVS update
didn't fix this.
-- 
----------------------------------------
Randall Hand
Visualization Scientist
ERDC MSRC-ITL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070518/347ecf0e/attachment.htm


More information about the ParaView mailing list