Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Milestone-Release1.4
New issue 60 by
nudomari...@gmail.com: Build of casacore-1.5.0 with HDF5
support failed in Debian Wheezy and Ubuntu 12.04 LTS
http://code.google.com/p/casacore/issues/detail?id=60
I could not build casacore-1.5.0 neither in Debian Wheezy nor in Ubuntu
12.04 LTS with HDF5 support.
I started in both cases from a clean installation of the OS and installed
the dependencies needed.
I have tried with several of the available versions of libhdf5-dev
(libhdf5-lam-dev, libhdf5-openmpi-dev, libhdf5-serial-dev and
libhdf5-mpich-dev).
I run:
cmake .. -DUSE_HDF5=ON -DUSE_FFTW3=ON
-DHDF5_INCLUDE_DIRS=/usr/lib/openmpi/include
make
Note.- The option "-DHDF5_INCLUDE_DIRS=/usr/lib/openmpi/include" is needed
for the mpi versions of libhdf5-dev
This is the error I got:
[ 3%] Building CXX object
casa/CMakeFiles/casa_casa.dir/HDF5/HDF5Record.cc.o
/home/vagrant/casacore-1.5.0/casa/HDF5/HDF5Record.cc: In static member
function 'static void casa::HDF5Record::writeScalar(hid_t, const
casa::String&, const void*, const casa::HDF5DataType&)':
/home/vagrant/casacore-1.5.0/casa/HDF5/HDF5Record.cc:420:38: error: too
many arguments to function 'hid_t H5Acreate1(hid_t, const char*, hid_t,
hid_t, hid_t)'
/usr/include/H5Apublic.h:105:16: note: declared here
/home/vagrant/casacore-1.5.0/casa/HDF5/HDF5Record.cc: In static member
function 'static void casa::HDF5Record::writeScaString(hid_t, const
casa::String&, const casa::String&)':
/home/vagrant/casacore-1.5.0/casa/HDF5/HDF5Record.cc:439:38: error: too
many arguments to function 'hid_t H5Acreate1(hid_t, const char*, hid_t,
hid_t, hid_t)'
/usr/include/H5Apublic.h:105:16: note: declared here
/home/vagrant/casacore-1.5.0/casa/HDF5/HDF5Record.cc: In static member
function 'static void casa::HDF5Record::writeArray(hid_t, const
casa::String&, const void*, const casa::IPosition&, const
casa::HDF5DataType&)':
/home/vagrant/casacore-1.5.0/casa/HDF5/HDF5Record.cc:460:38: error: too
many arguments to function 'hid_t H5Acreate1(hid_t, const char*, hid_t,
hid_t, hid_t)'
/usr/include/H5Apublic.h:105:16: note: declared here
/home/vagrant/casacore-1.5.0/casa/HDF5/HDF5Record.cc: In static member
function 'static void casa::HDF5Record::writeArrString(hid_t, const
casa::String&, const casa::Array<casa::String>&)':
/home/vagrant/casacore-1.5.0/casa/HDF5/HDF5Record.cc:500:38: error: too
many arguments to function 'hid_t H5Acreate1(hid_t, const char*, hid_t,
hid_t, hid_t)'
/usr/include/H5Apublic.h:105:16: note: declared here
make[2]: *** [casa/CMakeFiles/casa_casa.dir/HDF5/HDF5Record.cc.o] Error 1
make[1]: *** [casa/CMakeFiles/casa_casa.dir/all] Error 2
make: *** [all] Error 2
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings