FelixKratz / SketchyBar

A highly customizable macOS status bar replacement
https://felixkratz.github.io/SketchyBar/
GNU General Public License v3.0
6.23k stars 94 forks source link

make fails on macOS Big Sur #262

Closed andynameistaken closed 2 years ago

andynameistaken commented 2 years ago
==> make
Last 15 lines from /Users/andy/Library/Logs/Homebrew/sketchybar/01.make:
                                            kAudioObjectPropertyElementName
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:331:5: note: 'kAudioObjectPropertyElementName' declared here
    kAudioObjectPropertyElementName         = 'lchn',
    ^
src/volume.c:24:45: error: use of undeclared identifier 'kAudioObjectPropertyElementMain'; did you mean 'kAudioObjectPropertyElementName'?
                                            kAudioObjectPropertyElementMain  };
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                            kAudioObjectPropertyElementName
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:331:5: note: 'kAudioObjectPropertyElementName' declared here
    kAudioObjectPropertyElementName         = 'lchn',
    ^
3 errors generated.
make[1]: *** [bin/volume.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [universal] Error 2
FelixKratz commented 2 years ago

Can you try with latest master? I have no Big Sur machine with me currently, so I dont know if it fixes things.

andynameistaken commented 2 years ago

yeah, brew install sketchybar --HEAD. Yeah, on Monterey make works OOB, I downgraded, because of memory leaks

FelixKratz commented 2 years ago

Should be fixed in latest release v2.10.1.