Description
Hi!
I'm trying to get Luka's lcm code snippet to run (from recent code ping pong on the mailing list) https://git.tmp.si/luka/SuperCollider-Workspace/raw/branch/master/2020-12-05-least_common_multiple.scd and I'm banging my head against the wall.
Since Greyhole was missing from the sc3-plugins package on ubuntu-studio I've compiled supercollider and sc3-plugins from git master (as of today).
I've noticed that in order to have Greyhole compile at all, I need to define NATIVE=on.
I've used the following cmake flags for supercollider:
cmake -DNATIVE=ON -DCMAKE_INSTALL_PREFIX=~/local/stow/supercollider ..
And the following for sc3-plugins
cmake -DCMAKE_INSTALL_PREFIX=~/local/stow/sc3-plugins -DNATIVE=on -DSC_PATH=../../supercollider -DCMAKE_BUILD_TYPE=Release -DSUPERNOVA=ON ..
And since the first causes supercollider to look for plugins and extensions in ~/local/stow/supercollider, I've symlinked the plugins and extensions:
cd ~/.local/share/SuperCollider/Extensions
cp -srf ~/local/stow/sc3-plugins/lib/SuperCollider/plugins plugins
cp -srf ~/local/stow/sc3-plugins/share/SuperCollider/Extensions/SC3plugins SC3plugins
And after evaluating Server.supernova
and the snippet, I get the following error:
Booting server 'localhost' on address 127.0.0.1:57110.
Supernova booting
no more csLADSPA plugins
Found 393 LADSPA plugins
Supernova ready
JackDriver: max output latency 42.7 ms
Requested notification messages from server 'localhost'
localhost: no maxLogins info from server process.
localhost: keeping clientID (0) as confirmed by server process.
Shared memory server interface initialized
-> Ndef('lcmnoise')
-> Ndef('lcmnoise')
-> Ndef('lcmnoise')
Exception when reading synthdef: Cannot load synth temp__0lcmnoise-1872273500_1007: Unit generator GreyholeRaw not installed
Cannot create synth (synthdef: temp__0lcmnoise-1872273500_1007, node id: 1004)
So it looks like Greyhole is found, but GreyholeRaw isn't. I do have Greyhole.so
and Greyhole_supernova.so
in the plugins folder.
No idea what I have done wrong.