ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
318 stars 22 forks source link

Eurorack-blocks for Max doesn't build properly on macOS Monterey "bash: erbb: command not found" #459

Open ohmtech-rdi opened 2 years ago

ohmtech-rdi commented 2 years ago
gen~: exported: Macintosh HD:/Users/raf/dev/eurorack-blocks/test/max/artifacts/module_max.cpp
node.script: Build starting
node.script: module: /Users/raf/dev/eurorack-blocks/test/max/
node.script: Error: bash: erbb: command not found
node.script: Error: bash: erbb: command not found
node.script: child process exited with code 127
ohmtech-rdi commented 2 years ago

On macOS Monterey, zsh is used by default. But Max still uses bash.

We need to source our environment with the PATH to erbb. So not only we have to fill .zshrc but also .bash_profile in the Max case.

ricardomatias commented 1 year ago

Do you have any objections in having fish support?

ohmtech-rdi commented 1 year ago

Hi @ricardomatias !

Thanks for the suggestion. I'm not sure exactly on how this could address this issue regarding Max. Could you please elaborate on that?

If this is a general suggestion, I'll be happy to make a new issue for you on this topic.

Please keep us posted. Thanks!

ricardomatias commented 1 year ago

It's at most tangentially related, so more of a general suggestion :) Best to open a new issue.

ohmtech-rdi commented 1 year ago

Please don't hesitate to open it yourself, as you can probably put more details than me, or otherwise tell me to do it for you. Thanks!

OmsInSerial commented 1 year ago

Type this command in a bash shell: chsh -s /bin/zsh It will switch your shell from bash to zsh, then no more error from max environment. Everything seems to build correctly.