[Paraview] Building Error. Paraview-3.7.0. Conflicting declaration MPI_Comm.
Frantisek Fridrich
frafridr at gmail.com
Sun Mar 21 07:43:49 EDT 2010
Hello.
When building ParaView 3.7.0 a CVS version downloaded on 20th March,
2010 I got an error. “conflicting declaration MPI_Comm”.
Bellow you can see a piece of building output. I can also send the
full building output build.log and configuration file CMakeCache.txt.
HW: 2x AMD Opteron 275
SW: Scientific Linux 5.2 (RHEL 5.2) regularly updated, gcc-4.4.3,
openmpi-1.4.1, cmake-2.8.0, qt-4.6.2.
---------------------------------------------------------------------------------------------------------------
[ 99%] Building CXX object
Plugins/PointSprite/ParaViewPlugin/CMakeFiles/CSCS_PointSprite_Plugin.dir/vtkPointSpritePropertyClientServer.cxx.o
In file included from
/home/fox/MPI/OpenMPI/openmpi-1.4.1/utilsRepo/paravew-3.7.0/ParaView3/Plugins/H5PartReader/H5Part/src/H5Part.h:16,
from
/home/fox/MPI/OpenMPI/openmpi-1.4.1/utilsRepo/paravew-3.7.0/ParaView3/Plugins/H5PartReader/vtkH5PartReader.cxx:83:
/home/fox/MPI/OpenMPI/openmpi-1.4.1/utilsRepo/paravew-3.7.0/ParaView3/Plugins/H5PartReader/H5Part/src/H5PartTypes.h:21:
error: conflicting declaration 'typedef int MPI_Comm'
/home/fox/MPI/OpenMPI/openmpi-1.4.1/install/include/mpi.h:221: error:
'MPI_Comm' has a previous declaration as 'typedef struct
ompi_communicator_t* MPI_Comm'
/home/fox/MPI/OpenMPI/openmpi-1.4.1/utils/include/H5Dpublic.h: In
function 'hid_t H5PartGetNativeDatasetType(H5PartFile*, const char*)':
/home/fox/MPI/OpenMPI/openmpi-1.4.1/utils/include/H5Dpublic.h:108:
error: too few arguments to function 'hid_t H5Dopen2(hid_t, const
char*, hid_t)'
/home/fox/MPI/OpenMPI/openmpi-1.4.1/utilsRepo/paravew-3.7.0/ParaView3/Plugins/H5PartReader/vtkH5PartReader.cxx:103:
error: at this point in file
/home/fox/MPI/OpenMPI/openmpi-1.4.1/utils/include/H5Dpublic.h: In
member function 'virtual int
vtkH5PartReader::RequestData(vtkInformation*, vtkInformationVector**,
vtkInformationVector*)':
/home/fox/MPI/OpenMPI/openmpi-1.4.1/utils/include/H5Dpublic.h:108:
error: too few arguments to function 'hid_t H5Dopen2(hid_t, const
char*, hid_t)'
/home/fox/MPI/OpenMPI/openmpi-1.4.1/utilsRepo/paravew-3.7.0/ParaView3/Plugins/H5PartReader/vtkH5PartReader.cxx:687:
error: at this point in file
.
.
.
[100%] Building CXX object
Qt/ApplicationComponents/CMakeFiles/pqApplicationComponents.dir/moc_pqViewFrameActionsBehavior.cxx.o
[100%] Building CXX object
Qt/ApplicationComponents/CMakeFiles/pqApplicationComponents.dir/moc_pqViewMenuManager.cxx.o
[100%] Building CXX object
Qt/ApplicationComponents/CMakeFiles/pqApplicationComponents.dir/moc_pqViewSettingsManager.cxx.o
[100%] [100%] Building CXX object
Qt/ApplicationComponents/CMakeFiles/pqApplicationComponents.dir/moc_pqViewSettingsReaction.cxx.o
Building CXX object
Qt/ApplicationComponents/CMakeFiles/pqApplicationComponents.dir/qrc_pqApplicationComponents.cxx.o
Linking CXX shared library ../../bin/libpqApplicationComponents.so
[100%] Built target pqApplicationComponents
make: *** [all] Error 2
---------------------------------------------------------------------------------------------------------------
Does anybody have a suggestion how to solve this problem?
Best regards.
Frantiske
More information about the ParaView
mailing list