AndrewCapon / OSXBelaCrossCompiler

Cross Compiler on OSX for Bela
0 stars 0 forks source link

Script doesn't include new libraries folder in latest Bela version #2

Open ebai101 opened 4 years ago

ebai101 commented 4 years ago

Since Bela has encapsulated libraries like Midi and Scope in the new "libraries" folder, they are no longer in /root/Bela/include. Therefore this script doesn't copy these libraries into the sysroot clone.

A quick fix: cp -r /.../bela_repo/libraries /usr/local/linaro/BelaSysroot/root/Bela/include

AndrewCapon commented 4 years ago

Does everything else still work after doing this?

ebai101 commented 4 years ago

Yes, everything seems to work fine. I'm not actually using Eclipse, I'm in VSCode - but this fixed the problem for me. Probably should confirm that it works for Eclipse.

AndrewCapon commented 4 years ago

Super, thanks very much for the info.

I need to put some time aside to update to the new version of Bela and make sure the eclipse stuff still works.

I will look to update the script tomorrow...