Closed njvack closed 3 years ago
Hi Nate
The latest release v0.2.90 does contain some compile fixes for OSX. I do not own any OSX machines myself, so there is a bit limited what I can do without help from other developers or remote access to such systems.
If unable to get CoreAudio working, getting SDL2 plugin to compile is the second best thing, that one works for most systems.
For M1 systems, there are some few knows issues about random crashes, probably due to memory access being stricter than x86. A 64bit access must be 64bit aligned for instance. If any such occurs, running configure with - -debug, and providing backtracks from gdb would be of much help.
Btw, I saw you compiled for x86 and not arm64 ?
Well, I got a prebuilt binary for intel (and oh goodness it's 0.2.2 which is not very new); I still have one intel-only dependency. Tried a source build and had the same CoreAudio problem.
However! I downloaded 0.2.90 from source and, with a fair bit of tweaking, got it compiled and running (and oh god I have put non-homebrew stuff in /usr/local so I will be forever cursed). Whatever changed with the new version seems to have fixed CoreAudio. I'm not sure whether it's actually using CoreAudio or SDL2, but both seem to have initialized without errors.
My working build is also x86-based, as I was using my existing intel build of homebrew. Gotta remember to arch -x86_64
before configure
, make
, and make install
to get that going.
At some point I'll dig into trying to make a modern ocp work with homebrew on arm64 but that'll have to wait until I have uncursed my homebrew setup more generally...
Thank you! I think this can close with a "yeah homebrew is busted for now" note.
Hi folks,
I was hoping to get OCP working on my Mac. It launches fine, but doesn't play any audio out the speakers. The startup messages may give some clues about this — I was imagining it would use CoreAudio, but it seems to not be working. Here's a slightly-trimmed startup log:
Anything I can do to get this working, or at least debug it more?
Thanks!