Hi everybody, was trying to launch the system headless on Mac OS, but I’m not sure how to do it. I tried many different way but I’m sorry I don’t understand the documentation.
Can someone explain me a bit more step by step how to do it ? (NB : I understand how to handle the options flags and I’m proficient with terminal and command line).
The first roadblock I encountered was command not found: open-stage-control
add a symlink to open-stage-control executable in /usr/bin/ (if this location is in PATH)
# just guessing paths here, adjustment may be needed
sudo ln -s /Applications/open-stage-control.app/Contents/open-stage-control /usr/bin/open-stage-control
according to this thread, something like this should work out of the box too
Just tried and it worked as expected. So it works too.
Sorry for the mistake. Thus, the last sentence of my previous post is inaccurate.
Thanks for pointing it out
The only difference with the other method, is that you got the app icon in the Dock.
Option 3 doesn't start the O-S-C server in headless mode, unfortunately.
About option 2
Symlink vs Alias
I didn't know how to make a symlink file, so I chose to make an alias file instead. Actually, the latter is better because it will still work when the original file is moved.
[App alias] vs [Unix executable alias]
I didn't know what file to use when making the alias, so I tried with both.
No, I am not running O-S-C over a ssh session. According to this, if I did, I would get in the Terminal:Remote Login: On ...
I've tried the node release and also got errors.
aaa:~ alin$ node -v
v16.1.0
aaa:~ alin$ node /Users/alin/Downloads/open-stage-control-1.13.2-node/launcher/open-stage-control-launcher.js
/Users/alin/Downloads/open-stage-control-1.13.2-node/launcher/open-stage-control-launcher.js:10182
window.IP = window.IP || ''
^
ReferenceError: window is not defined
at Object.74.../../package.json (/Users/alin/Downloads/open-stage-control-1.13.2-node/launcher/open-stage-control-launcher.js:10182:1)
at o (/Users/alin/Downloads/open-stage-control-1.13.2-node/launcher/open-stage-control-launcher.js:78:265)
at /Users/alin/Downloads/open-stage-control-1.13.2-node/launcher/open-stage-control-launcher.js:78:316
at Object.81.../client/events/event-emitter (/Users/alin/Downloads/open-stage-control-1.13.2-node/launcher/open-stage-control-launcher.js:10429:1)
at o (/Users/alin/Downloads/open-stage-control-1.13.2-node/launcher/open-stage-control-launcher.js:78:265)
at r (/Users/alin/Downloads/open-stage-control-1.13.2-node/launcher/open-stage-control-launcher.js:78:431)
at Object.<anonymous> (/Users/alin/Downloads/open-stage-control-1.13.2-node/launcher/open-stage-control-launcher.js:78:460)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
aaa:~ alin$
Launching with node requires passing the path to the o-s-c-node folder (/Users/alin/Downloads/open-stage-control-1.13.2-node in your case), not any folder inside it.
Regarding the GPU error, I guess it's something to do with how mac handles symlinks and permissions but I don't know how to solve it.
Select the text you want to put inside, then click the gear icon and select "hide details". To automatically format the text in one way or another, add three grave accents (`) above and below the text. After the first three accents, add a space and write the name of a language. I've used c++ formatting.