I went through this. The following instructions install the
cd /tmp
ssh -o StrictHostKeyChecking=no root@bela.local exit # force key creation
git clone https://github.com/supercollider-quarks/quarks
git clone https://github.com/crucialfelix/crucial-library
git clone https://github.com/supercollider-quarks/ddwCommon
rsync -a quarks ddwCommon crucial-library root@bela.local: # may take a while
git clone https://github.com/supercollider/supercollider
git -C supercollider checkout b8ddcaf0f89c019af0f682a49f5df1c516578067
rsync -a supercollider/SCClassLibrary/* root@bela.local:/usr/share/SuperCollider/SCClassLibrary/
Note that the last two steps install all the SCClassLibrary files from upstream Sc. This includes the GUI files that are necessary to prevent crucial-library
from failing while compiling the class library. This means that parts of crucial-library
and possibly of ddwCommon
then you can run this in a .scd
file on Bela:
Quarks.install("/root/quarks");
Quarks.install("/root/crucial-library");
Quarks.install("/root/ddwCommon");
You should see a couple of errors about not being able to connect to GitHub:
Cloning into '/root/.local/share/SuperCollider/downloaded-quarks/quarks'...
fatal: unable to access 'https://github.com/supercollider-quarks/quarks.git/': Could not resolve host: github.com
ERROR:
Failed to read quarks directory listing: https://github.com/supercollider-quarks/quarks.git
ERROR: Primitive '_FileReadLine' failed.
Failed.
, but everything should actually work.
When you stop and restart the project you will see
Found 738 primitives.
Compiling directory '/usr/share/SuperCollider/SCClassLibrary'
Compiling directory '/usr/share/SuperCollider/Extensions'
Compiling directory '/root/.local/share/SuperCollider/Extensions'
Compiling directory '/root/quarks'
Compiling directory '/root/crucial-library'
Compiling directory '/root/ddwCommon'
and you should not get any error.
Now, this will make the class library compile, but I cannot guarantee it will work (specifically, all the GUI stuff will still not work).