[Paraview] Error compiling Paraview 3.2.1 on 64 bit
Berk Geveci
berk.geveci at kitware.com
Thu Jul 10 22:05:46 EDT 2008
Add a #include <stdlib.h> to the top of XdmfH5Driver.cxx.
-berk
On Wed, Jul 9, 2008 at 10:42 PM, Cally K <kalpana0611 at gmail.com> wrote:
> Hi
>
> We have patched the Paraview3.2.1 source with the patch Berk uploaded. It
> did solve the problem.
> We are facing another problem when compiling to 36%.
>
> Linking C shared library ../../bin/libvtkhdf5.so
> [ 35%] Built target vtkhdf5
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf..dir/XdmfDOM.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfDataDesc.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfExpression.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfValues.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfValuesXML.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfValuesHDF.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfHeavyData.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfHDF.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfHDFSupport.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfLightData.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfInformation.o
> [ 35%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfDataItem.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfDataStructure.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfDataTransform.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfElement.o
> [ 36%] Building CXX object Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/
> XdmfObject.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfExprLex.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfExprYacc.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfRoot.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfDomain.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfAttribute.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfGrid.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfTopology.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfGeometry.o
> [ 36%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfH5Driver.o
> /home/yewyong/installer/ParaView3.2.1/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:
> In function 'void* H5FD_dsm_fapl_get(H5FD_t*)':
> /home/yewyong/installer/ParaView3.2.1/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:359:
> error: 'calloc' was not declared in this scope
> /home/yewyong/installer/ParaView3.2.1/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:
> In function 'H5FD_t* H5FD_dsm_open(const char*, unsigned int, hid_t,
> haddr_t)':
> /home/yewyong/installer/ParaView3.2.1/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:412:
> error: 'calloc' was not declared in this scope
> /home/yewyong/installer/ParaView3.2.1/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:442:
> error: 'free' was not declared in this scope
> /home/yewyong/installer/ParaView3.2.1/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:
> In function 'herr_t H5FD_dsm_close(H5FD_t*)':
> /home/yewyong/installer/ParaView3.2.1/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:534:
> error: 'free' was not declared in this scope
> /home/yewyong/installer/ParaView3.2.1/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:536:
> error: 'free' was not declared in this scope
> make[2]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfH5Driver.o]
> Error 1
> make[1]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/all] Error 2
> make: *** [all] Error 2
>
> dunno whats wrong yet... but there are some minor error which the system
> ignored... examples are
>
> Linking CXX executable ../../../../bin/TransmitRectilinearGrid
> [ 33%] Built target TransmitRectilinearGrid
> [ 33%] Building CXX object
> VTK/Parallel/Testing/Cxx/CMakeFiles/TransmitStructuredGrid.dir/TransmitStructuredGrid.o
> In file included from
> /home/yewyong/installer/openmpi-1.2.5_build/include/openmpi/ompi/mpi/cxx/mpicxx.h:246,
> from
> /home/yewyong/installer/openmpi-1.2.5_build/include/mpi.h:1783,
> from
> /home/yewyong/installer/ParaView3.2.1/VTK/Parallel/Testing/Cxx/TransmitStructuredGrid.cxx:21:
> /home/yewyong/installer/openmpi-1.2.5_build/include/openmpi/ompi/mpi/cxx/request_inln.h:
> In static member function 'static MPI::Grequest MPI::Grequest::Start(int
> (*)(void*, MPI::Status&), int (*)(void*), int (*)(void*, bool), void*)':
> /home/yewyong/installer/openmpi-1.2.5_build/include/openmpi/ompi/mpi/cxx/request_inln.h:347:
> warning: declaration 'struct MPI::Grequest_intercept_t' does not declare
> anything
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
More information about the ParaView
mailing list