Open rdmpage opened 1 year ago
Specifically on my MacBook Pro M2:
brew install cmake
brew install automake
brew install wget
git clone https://github.com/kermitt2/pdfalto.git
cd pdfalto
git submodule update --init --recursive
mkdir libs/freetype/mac/arm64
mkdir libs/icu/mac/arm64
mkdir libs/libxml/mac/arm64
mkdir libs/image/png/mac/arm64
mkdir libs/image/zlib/mac/arm64
./install_deps.sh
export C_INCLUDE_PATH=/opt/homebrew/include
export CPLUS_INCLUDE_PATH=/opt/homebrew/include
cmake .
make
I built the https://github.com/kermitt2/pdfalto/tree/feature/support-mac-arm branch on my MacBook Pro M1. I encountered the usual Mac problems listed in the README, which were fixed by doing:
following https://github.com/kermitt2/pdfalto/issues/135#issuecomment-990053813
I ran
./install_deps.sh
but then I got the following error:I then manually added
arm64
to eachlibs/*/mac
directory and then./install_deps.sh
worked and I could finally build thepdfalto
binary (yay!).I suspect there's an easy fix to ensure that the
arm64
directories are created before attempting to store the library files in those directories.