andrewjanke/minc — Issue #4: Compile version 2.1.10
Author: hassemlal
Created: 2012-02-22 15:25:06+00:00
State: open

Hi,
I am unsuccessful to build the MINC version 2.1.10. There is an error with the file hdf_convenience.c:

```/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c: In function ‘hdf_put_dimorder’:
/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c:621: error: too many arguments to function ‘H5Acreate1’
/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c: In function ‘hdf_set_length’:
/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c:928: error: too many arguments to function ‘H5Acreate1’
/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c: In function ‘hdf_attput’:
/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c:1110: warning: cast to pointer from integer of different size
/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c:1189: error: too many arguments to function ‘H5Acreate1’
/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c: In function ‘hdf_copy_attr’:
/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c:2054: warning: cast from pointer to integer of different size
/hydra/home/hassemlal/work/minc/libsrc/hdf_convenience.c:2071: error: too many arguments to function ‘H5Acreate1’
make[2]: *** [CMakeFiles/minc2.dir/libsrc/hdf_convenience.c.o] Error 1
make[1]: *** [CMakeFiles/minc2.dir/all] Error 2```

I can build version 2.1.00 without problems. I'm using ubuntu lucid with libhdf5-serial-1.8.4-5.