Here if more details are needed:
When I compile to a hex file from a Mutable Instrument code, like braids for instance, I have in my GitHub directory, then I open the Terminal under OS X.
to go to the directory, then I paste:
which is mounting the Ubuntu machine I have in VirtualBox.
Then I paste:
And then these lines to compile the code and generate braids_bootloader.hex and braids.hex files.
make -f braids/bootloader/makefile hex
make -f braids/makefile hex
Now when I have for instance Penrose-master in my GitHub directory and I want to compile to a hex file, how do I do?
I spent a lot of time trying all kind of things.
If I write this in the terminal,
then a lot of errors would come up, I guess because there’s no vagrant file there.
If I put the Penrose-master into the mutable-dev-environment/eurorack-modules like where braids directory is, or any other Mutable directory, then a lot of files will be compiled, but not the hex file, as some errors will stop the process at some point, as a few includes are not found (like <avr/io.h> for instance in adc.h just to name one). Then I tried changing paths to these include files, but it all seems like an avalanche of never-ending things to change.
pld commented in another thread that I didn't want to hijack:
As avr-gcc and crosspack-avr are installed, I decided to ask here what is the right method for compiling code for AVR which are not Mutable Instruments codes.pld wrote:<avr/io.h> should be part of the compiler package (it's been years, so I'm not sure if that's avr-gcc or crosspack-avr, but they can be installed with brew on OS X) and everything gets compiled on command line (make avr).
And normally you shouldn't have to change the makefile, anything settable can be set from the command line also.
I thought I should put them in the mutable-dev-environment/eurorack-modules directory, but it does not seem to be the solution.