Skip to content

Instantly share code, notes, and snippets.

@CarloCattano
Last active October 27, 2022 09:41
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CarloCattano/83d572ea18031ca6e40ce8545b6f174c to your computer and use it in GitHub Desktop.
Save CarloCattano/83d572ea18031ca6e40ce8545b6f174c to your computer and use it in GitHub Desktop.

Compile plugins for 64-bit OS aarch64 raspberry pi 4

this plugins are included on the mod-plugin-builder repo

on a debian/ubuntu system or VM (I use a debian lite image on Oracle VirtualBox). Approx time 3 hours or more

sudo apt install acl bc curl cvs git mercurial rsync subversion wget \
bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip \
automake binutils build-essential cpio libtool libncurses-dev pkg-config python-is-python3 libtool-bin

git clone --recursive https://github.com/moddevices/mod-plugin-builder

cd mod-plugin-builder

./bootstrap.sh raspberrypi4
# for other platforms you can replace here with your hardware ( modduo, modduox, moddwarf or x86_64)

#remove problematic plugins like wolf-shaper-labs lv2 ( asks for github credentials ) and others
rm plugins/package/wolf-shaper-labs -rf   
rm plugins/package/zeroconvo-labs -rf
rm plugins/package/zynaddsubfx-labs* -rf

for f in plugins/package/*; do ./build raspberrypi4 $f; done | tee build.log

Once done the plugins are at:

$HOME/mod-workdir/raspberrypi4/plugins 

I use this plugins on raspberry pi setup + PiSound interface. You can check my install script here

if unsure, run uname -m on a terminal in your pi.Should return aarch64 on a 64-bit system

I start from a 64-bit Raspberry pi OS lite image

@CarloCattano
Copy link
Author

CarloCattano commented Sep 5, 2022

@jtemple967 damm i forgot to add the deps

sudo apt install acl bc curl cvs git mercurial rsync subversion wget \
bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip \
automake binutils build-essential cpio libtool libncurses-dev pkg-config python-is-python3 libtool-bin

Thanks for letting me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment