-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encountered an error while building from source code on macOS 10.14 with Xcode 11.3.1 #57
Comments
Looking at the apple docs that symbol was added in MacOS 12 (Monterey). Which is 3 versions newer than Mojave (10.14). So I suspect the quick answer is that switch audio-osx doesn't support your version of os x. It might be possible to add backwards compatibility using older apis, but I think you are better off upgrading to a newer version of os x. (if your hardware is too old, take a look at oclp |
But the readme suggests it should work on 10.7 and newer. Line 13 in 6659247
|
Hmm, maybe the readme is out of date? It looks like kAudioObjectPropertyElementMain symbol was added in 1.2.0. Can you build v 1.1.0? |
Given that new symbols only found in macOS 12 Monterey are now being used, it looks like https://ports.macports.org/port/switchaudio-osx/details/ If this is the case, the |
@igorbernstein -- I can confirm that v1.1.0 still builds and runs find on Lion Mac OS X 10.7.5 (and presumably on newer macOS releases such as Mojave). But the versions 1.2.0 to 1.2.2 do not build. But I see a different build error on Lion than that reported for Mojave.
|
Building environment:
Xcode: Version 11.3.1 (11C505)
macOS Mojave 10.14.6 (18G9323)
Building details:
I see there is a building error occurred from audio_switch.c:718:23: error: use of undeclared identifier 'kAudioObjectPropertyElementMain', could you help take a look?
Thanks.
The text was updated successfully, but these errors were encountered: