You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Mac OS X, package manager MacPorts installs packages such as hdf5 in the dir of /opt. Although cmake could successfully find it, a typo in CMakeLists.txt prevents the corresponding include path from being passed to gcc. ${HDF5_INCLUDE_DIR} in CMakeLists.txt should be corrected to ${HDF5_INCLUDE_DIRS}.
Error message of the build failure:
...
...
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found HDF5: /opt/local/lib/libhdf5_cpp.dylib;/opt/local/lib/libhdf5.dylib;/usr/lib/libz.dylib;/usr/lib/libdl.dylib;/usr/lib/libm.dylib (found version "1.10.0.1")
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/****/kallisto/build
$ make
Scanning dependencies of target kallisto_core
[ 5%] Building CXX object src/CMakeFiles/kallisto_core.dir/Bootstrap.cpp.o
In file included from /Users/****/kallisto/src/Bootstrap.cpp:1:
In file included from /Users/****/kallisto/src/Bootstrap.h:12:
In file included from /Users/****/kallisto/src/H5Writer.h:6:
/Users/****/kallisto/src/h5utils.h:13:10: fatal error: 'hdf5.h' file not found
#include "hdf5.h"
^
1 error generated.
make[2]: *** [src/CMakeFiles/kallisto_core.dir/Bootstrap.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/kallisto_core.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
In Mac OS X, package manager MacPorts installs packages such as hdf5 in the dir of
/opt
. Although cmake could successfully find it, a typo inCMakeLists.txt
prevents the corresponding include path from being passed to gcc.${HDF5_INCLUDE_DIR}
inCMakeLists.txt
should be corrected to${HDF5_INCLUDE_DIRS}
.Error message of the build failure:
The text was updated successfully, but these errors were encountered: