Giter Site home page Giter Site logo

Running on Linux ARM? about sampler HOT 8 OPEN

sqshq avatar sqshq commented on April 28, 2024 3
Running on Linux ARM?

from sampler.

Comments (8)

oersted81 avatar oersted81 commented on April 28, 2024 4

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

from sampler.

sqshq avatar sqshq commented on April 28, 2024 2

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.

from sampler.

klundry avatar klundry commented on April 28, 2024 2

Thanks! Also works for me on aarch64 with the following line

env GOOS=linux GOARCH=arm64 go build

from sampler.

adamwolf avatar adamwolf commented on April 28, 2024 1

from sampler.

klundry avatar klundry commented on April 28, 2024 1

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?

from sampler.

pablolibo avatar pablolibo commented on April 28, 2024

@adamwolf Could you share the steps for build? :)

from sampler.

adamwolf avatar adamwolf commented on April 28, 2024

Unfortunately, my notes for that are with a previous contract, and I do not recall. Sorry!

from sampler.

peanball avatar peanball commented on April 28, 2024

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

from sampler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.