patch.init with oopsy compiler error

New patch.init() user here - I’m having trouble flashing gen~ patches using oopsy. Pretty sure I have the package and toolchain installed correctly, and the Web Programmer flashes to the device with no problem. But when I try to flash the oopsy examples using Max, I get a compiler error like the one below (trying to flash the reverb example)

oopsy-verbose: "oopsy generated code"
oopsy-verbose: "oopsy compiling..."
oopsy-verbose: loadend success dictionary u984001529
oopsy-verbose: "oopsy compiler error"
oopsy-verbose: "Error: Command failed: export PATH=$PATH:/usr/local/bin && make clean && make"
oopsy-verbose: "xcode-select: note: No developer tools were found, requesting install."
oopsy-verbose: "If developer tools are located at a non-default location on disk, use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, and cancel the installation dialog."
oopsy-verbose: "See `man xcode-select` for more details."
oopsy-verbose: 
oopsy-verbose: "    at ChildProcess.exithandler (node:child_process:422:12)"
oopsy-verbose: "    at ChildProcess.emit (node:events:514:28)"
oopsy-verbose: "    at maybeClose (node:internal/child_process:1105:16)"
oopsy-verbose: "    at Socket.<anonymous> (node:internal/child_process:457:11)"
oopsy-verbose: "    at Socket.emit (node:events:514:28)"
oopsy-verbose: "    at Pipe.<anonymous> (node:net:337:12) {"
oopsy-verbose: "  code: 1,"
oopsy-verbose: "  killed: false,"
oopsy-verbose: "  signal: null,"
oopsy-verbose: "  cmd: 'export PATH=$PATH:/usr/local/bin && make clean && make'"
oopsy-verbose: }
oopsy-verbose: "xcode-select: note: No developer tools were found, requesting install."
oopsy-verbose: "If developer tools are located at a non-default location on disk, use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, and cancel the installation dialog."
oopsy-verbose: "See `man xcode-select` for more details."
oopsy-verbose: 
oopsy-verbose: "compiler error"
oopsy-verbose: compiling...
oopsy-verbose: "generated code"

Is there something I’m missing here?

It looks like you’re using a Mac, and haven’t installed the Mac developer tools.

1 Like