misterluck
misterluck
MacBookPro M2的无法安装hdf5 使用如下命令解决xcode-select install brew install hdf5 brew install c-blosc export HDF5_DIR=/opt/homebrew/opt/hdf5 export BLOSC_DIR=/opt/homebrew/opt/c-blosc brew install sdl2 brew install pkg-config export PKG_CONFIG_PATH=/opt/homebrew/opt/freetype/lib/pkgconfig:$PKG_CONFIG_PATH brew install freetype export INCLUDEPATH=/opt/homebrew/Cellar/freetype/2.13.2/include:$INCLUDEPATH
Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable No package 'freetype2' found brew install freetype...