dendro
dendro copied to clipboard
Apple Silicon support for Rhino 7
Unfortunately, the described build process / installation didn’t work for me on an M4 Macbook with Rhino 7.
The plugin installs successfully, but when using the components, the .dylib appears to be empty.
Solution exception:libDendroAPI.dylib assembly:<unknown assembly> type:<unknown type> member:(null)
I re-built the components following @Cademy_Xyz ‘s guide, with a few modifications:
Create an x86_64 Homebrew installation (if you don’t already have one, this can exist alongside the M-series ARM Homebrew)
arch -x86_64 /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”
Install x86_64 versions of the dependencies
arch -x86_64 /usr/local/bin/brew install openvdb tbb c-blosc
Compile with x86 flags:
cd DendroAPI
mkdir build
cd build
cmake .. -DCMAKE_OSX_ARCHITECTURES=x86_64
make