electro-smith / oopsy

gen~ to Daisy: exporting Max Gen patchers for the ElectroSmith Daisy hardware platforms
MIT License
126 stars 30 forks source link

Automatic build + download not working on Windows host #45

Open MdB-3 opened 3 years ago

MdB-3 commented 3 years ago

On a Windows host the automatic build + download is not working. The soure/oopsy.js script performs a "make -n" i.s.o. a "make" (line 254).

stephenhensley commented 3 years ago

Hi @MdB-3, apologies for the long delay here.

We recently updated the windows installation instructions on the Wiki.

If you could share more details about the issue you were having (i.e. a screenshot of the Max Console when running oopsy in verbose mode) we can help get it sorted out.

The make -n that is done within oopsy was (and may still be) necessary due to the version of Make not functioning correctly when called from cmd.exe (the shell used when oopsy calls system commands). The output of the each line of the dry-run invocation of Make is piped out to cmd.exe individually, and should function correctly.

MdB-3 commented 3 years ago

Hi Stephen,

The problem I was experiencing had to do with os.EOL being used to split the make -n output into executable commands. Using '\n' instead corrects this (possibly 'cause I had my Cygwin bin in my path)..

When following the new installataion instrcutions for Windows this problem was solved.

But still a glitch remains in the build and flash sequence (see the Max console log below).

Regards, Marcel du Bois newtools.txt

grrrwaaa commented 3 years ago

"(see the Max console log below)" -- can't see the log here.

MdB-3 commented 3 years ago

There's a file attached (newtools.txt) to the previous comment

MdB-3 commented 3 years ago

Just to clarify things: building and flashing works fine now. The remaining glitch just causes the flashing to be attempted twice.