Coder Social home page Coder Social logo

Comments (7)

samaaron avatar samaaron commented on June 12, 2024

Not sure what's going on here, sorry. I just did a fresh clone and ran the mac-build-all.sh script in /app and it built just fine on my Apple Silicon machine.

from sonic-pi.

samaaron avatar samaaron commented on June 12, 2024

Perhaps you have some old build artefacts from a previous build? Did you checkout into a brand new directory or over an old directory?

from sonic-pi.

samaaron avatar samaaron commented on June 12, 2024

Also, what does the following output when you run it in a terminal for you: uname -m

from sonic-pi.

bdelacretaz avatar bdelacretaz commented on June 12, 2024

It's a fresh empty folder, just did git clone, cd <folder>/app, ./mac-build-all.sh, so I don't think it can be old artefacts.

uname -m returns arm64

Maybe there's a difference in some tool versions?

Note that I'm not really blocked by this, I'm preparing a contribution of new synths and wanted to test them on my own build, but I can also submit a synths PR "blindly", just checking the syntax of the synthinfo.rb file.

from sonic-pi.

samaaron avatar samaaron commented on June 12, 2024

Interesting. One thing that might be different is that on my machine I specifically did not install Rosetta to ensure everything was all arm64. Perhaps there's something in the toolchain that defaults to x64 when Rosetta is present?

from sonic-pi.

emlyn avatar emlyn commented on June 12, 2024

I tried building it on my machine (M1 with Rosetta installed) from a fresh checkout. I ran into a couple of issues with it not finding my Homebrew QT5 install (it assumes Homebrew is installed in /usr/local, but mine is in /opt/homebrew), but after editing the build files I got mac-buildall.sh to run successfully to completion.

I wasn't able to run the generated app though, it gets immediately killed, and in the error report window that pops up, it says: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)).

from sonic-pi.

samaaron avatar samaaron commented on June 12, 2024

That's useful to know, thanks. For the record I never personally use homebrew Qt - I always install it manually as you get more control over versions and updating etc.

from sonic-pi.

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.