[Paraview] XdmfH5Driver.cxx missing stdlib.h include?
Russell Thomason
rthomas at sandia.gov
Wed Jul 9 14:43:21 EDT 2008
I was building the latest source today from scratch and got this error.
I fixed it by including stdlib.h. Has anyone else had to do this?
[ 31%] Building CXX object
Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfH5Driver.o
/home/rthomas/code/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx: In function ‘void* H5FD_dsm_fapl_get(H5FD_t*)’:
/home/rthomas/code/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:360: error: ‘calloc’ was not declared in this scope
/home/rthomas/code/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx: In function ‘H5FD_t* H5FD_dsm_open(const char*, unsigned int, hid_t, haddr_t)’:
/home/rthomas/code/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:413: error: ‘calloc’ was not declared in this scope
/home/rthomas/code/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:443: error: ‘free’ was not declared in this scope
/home/rthomas/code/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx: In function ‘herr_t H5FD_dsm_close(H5FD_t*)’:
/home/rthomas/code/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:535: error: ‘free’ was not declared in this scope
/home/rthomas/code/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:537: 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
More information about the ParaView
mailing list