We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm running into the following error while trying to install minc-toolkit-v2 on my new macbook (M2).
minc-toolkit-v2-build/HDF5/src/H5Fsuper.c:1397:16: error: call to undeclared function 'H5O__fsinfo_set_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1397 | if(H5O__fsinfo_set_version(f, &fsinfo) < 0) | ^ 1 error generated. make[5]: *** [src/CMakeFiles/hdf5-static.dir/H5Fsuper.c.o] Error 1 make[4]: *** [src/CMakeFiles/hdf5-static.dir/all] Error 2 make[3]: *** [all] Error 2 make[2]: *** [HDF5-prefix/src/HDF5-stamp/HDF5-build] Error 2 make[1]: *** [CMakeFiles/HDF5.dir/all] Error 2 make: *** [all] Error 2
My cmake call is this:
cmake ../minc-toolkit-v2/ -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/opt/minc/1.9.18 -DMT_BUILD_ABC:BOOL=ON -DMT_BUILD_ANTS:BOOL=ON -DMT_BUILD_C3D:BOOL=ON -DMT_BUILD_ELASTIX:BOOL=ON -DMT_BUILD_IM:BOOL=OFF -DMT_BUILD_ITK_TOOLS:BOOL=ON -DMT_BUILD_LITE:BOOL=OFF -DMT_BUILD_SHARED_LIBS:BOOL=ON -DMT_BUILD_VISUAL_TOOLS:BOOL=ON -DMT_USE_OPENMP:BOOL=ON -DUSE_SYSTEM_FFTW3D:BOOL=OFF -DUSE_SYSTEM_FFTW3F:BOOL=OFF -DUSE_SYSTEM_GLUT:BOOL=OFF -DUSE_SYSTEM_GSL:BOOL=ON -DUSE_SYSTEM_HDF5:BOOL=OFF -DUSE_SYSTEM_ITK:BOOL=OFF -DUSE_SYSTEM_NETCDF:BOOL=OFF -DUSE_SYSTEM_NIFTI:BOOL=OFF -DUSE_SYSTEM_PCRE:BOOL=OFF -DUSE_SYSTEM_ZLIB:BOOL=OFF -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DHDF5_ROOT=$(brew --prefix hdf5)
The HDF5 version that I think it's using is 1.14.5 (I've tried the above command with -DUSE_SYSTEM_HDF5:BOOL=ON as well, but this didn't help.
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm running into the following error while trying to install minc-toolkit-v2 on my new macbook (M2).
minc-toolkit-v2-build/HDF5/src/H5Fsuper.c:1397:16: error: call to undeclared function 'H5O__fsinfo_set_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1397 | if(H5O__fsinfo_set_version(f, &fsinfo) < 0)
| ^
1 error generated.
make[5]: *** [src/CMakeFiles/hdf5-static.dir/H5Fsuper.c.o] Error 1
make[4]: *** [src/CMakeFiles/hdf5-static.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [HDF5-prefix/src/HDF5-stamp/HDF5-build] Error 2
make[1]: *** [CMakeFiles/HDF5.dir/all] Error 2
make: *** [all] Error 2
My cmake call is this:
cmake ../minc-toolkit-v2/ -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/opt/minc/1.9.18 -DMT_BUILD_ABC:BOOL=ON -DMT_BUILD_ANTS:BOOL=ON -DMT_BUILD_C3D:BOOL=ON -DMT_BUILD_ELASTIX:BOOL=ON -DMT_BUILD_IM:BOOL=OFF -DMT_BUILD_ITK_TOOLS:BOOL=ON -DMT_BUILD_LITE:BOOL=OFF -DMT_BUILD_SHARED_LIBS:BOOL=ON -DMT_BUILD_VISUAL_TOOLS:BOOL=ON -DMT_USE_OPENMP:BOOL=ON -DUSE_SYSTEM_FFTW3D:BOOL=OFF -DUSE_SYSTEM_FFTW3F:BOOL=OFF -DUSE_SYSTEM_GLUT:BOOL=OFF -DUSE_SYSTEM_GSL:BOOL=ON -DUSE_SYSTEM_HDF5:BOOL=OFF -DUSE_SYSTEM_ITK:BOOL=OFF -DUSE_SYSTEM_NETCDF:BOOL=OFF -DUSE_SYSTEM_NIFTI:BOOL=OFF -DUSE_SYSTEM_PCRE:BOOL=OFF -DUSE_SYSTEM_ZLIB:BOOL=OFF -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DHDF5_ROOT=$(brew --prefix hdf5)
The HDF5 version that I think it's using is 1.14.5 (I've tried the above command with -DUSE_SYSTEM_HDF5:BOOL=ON as well, but this didn't help.
Thanks!
The text was updated successfully, but these errors were encountered: