我想从本站的说明http://channelflow.org/dokuwiki/doku.php?id=docs:install上的说明在我的Mac OsX上安装软件通道流。该网站指定,必须首先在系统上安装fftw3,eigen和hdf5。我已经在我的系统上成功安装了fftw3和eigen,但无法使用fink安装hdf5('fink install hdf5'提到没有名为hdf5的软件包)。我使用https://www.hdfgroup.org/downloads/index.html上的镜像安装了hdf5。但是这个在usr/local中安装了hdf5,而'fink install'安装在/ sw(我认为)。在我的Mac上安装channelflow OsX
现在,安装channelflow会给我下面的错误。
MDOM18208-1:build kumarsambhava$ cmake -DCMAKE_INSTALL_PREFIX=~/channelflow ~/channelflow/trunk
-- configuring channelflow version 1.5.1
-- Build type: release
-- Basic system introspection...
-- Finding packages...
-- Found FFTW
-- FFTW_INCLUDE_DIR=/sw/include
-- FFTW_LIBRARY=/sw/lib/libfftw3.dylib
-- Adding /sw/include to include path...
-- Adding /sw/lib/libfftw3.dylib to libraries...
-- Found Eigen3
-- EIGEN3_INCLUDE_DIR=/sw/include/eigen3
-- Adding /sw/include/eigen3 to include path...
-- Found HDF5
-- HDF5 was not found.
-- Adding HDF5_LIBRARY-NOTFOUND to libraries...
-- Adding /libhdf5_cpp.so to libraries...
CMake Error at CMakeLists.txt:129 (CHECK_LIBRARY_EXISTS):
CHECK_LIBRARY_EXISTS Macro invoked with incorrect arguments for macro
named: CHECK_LIBRARY_EXISTS
CMake Error at CMakeLists.txt:135 (CHECK_LIBRARY_EXISTS):
CHECK_LIBRARY_EXISTS Macro invoked with incorrect arguments for macro
named: CHECK_LIBRARY_EXISTS
-- LIBS=/sw/lib/libfftw3.dylib;HDF5_LIBRARY-NOTFOUND;/libhdf5_cpp.so
-- INCLUDE_DIRS=
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
HDF5_INCLUDE_DIR (ADVANCED)
used as include directory in directory /Users/kumarsambhava/channelflow/trunk
used as include directory in directory /Users/kumarsambhava/channelflow/trunk
used as include directory in directory /Users/kumarsambhava/channelflow/trunk
used as include directory in directory /Users/kumarsambhava/channelflow/trunk
used as include directory in directory /Users/kumarsambhava/channelflow/trunk
used as include directory in directory /Users/kumarsambhava/channelflow/trunk
used as include directory in directory /Users/kumarsambhava/channelflow/trunk
used as include directory in directory /Users/kumarsambhava/channelflow/trunk
used as include directory in directory /Users/kumarsambhava/channelflow/trunk
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/channelflow
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/programs
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/examples
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/tests
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/data
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/data
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/data
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/data
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/data
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/data
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/data
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/data
used as include directory in directory /Users/kumarsambhava/channelflow/trunk/data
HDF5_LIBRARY (ADVANCED)
linked by target "chflow_static" in directory /Users/kumarsambhava/channelflow/trunk/channelflow
linked by target "chflow" in directory /Users/kumarsambhava/channelflow/trunk/channelflow
linked by target "symmetryop" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "seriesdist" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "pressure" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "poincare" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "seriesdist2" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "perturbfield" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "findsoln" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "makestokesmode" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "makebasis" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "seriesprops" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "L2Dist" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "projectseries" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "continuesoln" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "findsymmetries" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "couettePoincare" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "movieframes" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "arnoldi" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "L2IP" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "continuefields" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "fieldprops" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "fieldplots" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "field2ascii" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "projectfields" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "couette" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "randomfield" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "makeheatmode" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "symmetrize" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "diffop" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "interpsoln" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "fieldconvert" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "changegrid" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "ascii2field" in directory /Users/kumarsambhava/channelflow/trunk/programs
linked by target "addfields" in directory /Users/kumarsambhava/channelflow/trunk/programs
-- Configuring incomplete, errors occurred!
See also "/Users/kumarsambhava/channelflow/build/CMakeFiles/CMakeOutput.log".
不是编程问题 - 请尝试http://apple.stackexchange.com或http://unix.stackexchange.com? –