When downloading the archive from here (iPlug2/Dependencies at master · iPlug2/iPlug2 · GitHub), it lacks the necessary tools to continue compiling, and there are no instructions on this matter…
In the console, an explicit indication in the absence of the necessary folders and files
- Pre-built macOS dependencies can be downloaded here: IPLUG2_DEPS_MAC.zip
Copy to iPlug2/Dependencies/Build/
- The build script build-igraphics-libs-mac.sh will build freetype as a static library (only required if you are using IGRAPHICS_FREETYPE with IGRAPHICS_NANOVG) and will install it in a unix style hierarchy in the folder **iPlug2/Dependencies/Build/mac . Build settings defined in iPlug2/common-mac.xcconfig will allow your plug-in project to link to these libraries. The libraries are built as universal binaries with x86_64 and arm64 architectures.
Next you can execute build-skia-mac.sh which will build the various static libraries for skia and place the files in the right locations.
Just Run build-skia-mac.sh
Cloning into '../Build/tmp/depot_tools'...
remote: Total 45900 (delta 34382), reused 45900 (delta 34382)
Receiving objects: 100% (45900/45900), 32.63 MiB | 23.01 MiB/s, done.
Resolving deltas: 100% (34382/34382), done.
/opt/homebrew/bin/python3: can't open file '///Dependencies/Build/src/skia/tools/git-sync-deps': [Errno 2] No such file or directory
///Dependencies/IGraphics/build-skia-mac.sh: line 15: ./bin/gn: No such file or directory
ninja: Entering directory `../../tmp/skia/macOS_x86_64'
ninja: fatal: chdir to '../../tmp/skia/macOS_x86_64' - No such file or directory
ERROR: build failed, aborting
Either I’m doing something wrong or something is missing…