for posterity, anyone finding themselves in having a different rnbo version from the one supported by the branches on the rnbo.example.bela repo should try the following:
- get the non working exported files on the board (e.g.: in
/root/export
)
cd
to the rnbo.example.bela folder
- run
./update_rnbo.sh /root/export
- hope everything goes fine
background:
the rnbo-generated cpp files in the rnbo
folder are normally built by including them all from the RNBO.cpp
file. That's pretty unorthodox, and on a small embedded computer like Bela it would mean extremely long compile times - assuming it would actually compile at all before it runs out of memory. I am not here to judge, it's an approach that works for them so they can keep using it, but on Bela we have to build each one of those files individually. Unfortunately those cpp files are missing some critical includes that need to be added in when building them individually, so this is the reason why we cannot just use the files generated by rnbo but actually need to do some processing on them. The annoying thing is that these changes could be applied upstream at zero build- or runtime- cost to them, but even though I reported this the day after the relase of rnbo, it hasn't been applied yet.