Open adamwolf opened 5 years ago
Hi @adamwolf, The plan is to support ARM cross-compilation (I don't have ARM machine) and release Linux ARM artifact along with others. Right now there is an issue with Oto player which prevents me to do that.
I'm thinking about alternatives, but there is a big chance that getting rid of trigger sound tone is the only way to go. Anyway, will be resolved in upcoming releases.
I was able to install golang and build it that way.
I was able to install golang and build it that way.
Do you have any tips on how you got it to build? I get the oto player errors and it fails. Is there something I can modify to remove the oto player dependency so it will build?
@adamwolf Could you share the steps for build? :)
Unfortunately, my notes for that are with a previous contract, and I do not recall. Sorry!
on RPI 3B+ Rasbian Buster as root:
apt install golang libasound2-dev git git clone https://github.com/sqshq/sampler.git cd sampler/ env GOOS=linux GOARCH=arm GOARM=7 go build mv sampler /usr/local/bin/ chmod +x /usr/local/bin/sampler
Thanks! Also works for me on aarch64 with the following line
env GOOS=linux GOARCH=arm64 go build
also works by forcing the platform on Docker to an arm architecture, e.g.
docker run -it --rm --platform linux/arm golang:1.17
and then in that container running:
apt update
apt install -y libasound2-dev
git clone https://github.com/sqshq/sampler.git
go build
Hi folks! This looks great. I want to try it out on an ARM box of mine, but the executable doesn't work, of course. I'll grab the source and see if I can make it go, but any thoughts on adding an "advanced linux installation" section or something?