Open drakeqiu opened 6 months ago
What happens if you try to compile from the repo?
git clone https://github.com/FelixKratz/JankyBorders.git
cd JankyBorders
make
@FelixKratz Thanks for your reply.
I tried to use make
to build add following environment variables which I retrieved from brew install borders -v
output
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
export OBJC=/usr/bin/clang
export OBJCXX=/usr/bin/clang++
export CPPFLAGS="-F/usr/local/Frameworks -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk"
export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
export MAKEFLAGS=-j12
export CMAKE_PREFIX_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr
export CMAKE_FRAMEWORK_PATH=/usr/local/Frameworks:/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks
export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/14:/usr/lib/pkgconfig
export CPATH=/usr/local/include:/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include
still got the result missing System
Library .
$ make
clang -std=c99 -O3 -g src/main.c src/parse.c src/mach.c src/hashtable.c src/events.c src/windows.c src/border.c src/animation.c -o bin/borders -framework AppKit -framework CoreVideo -F/System/Library/PrivateFrameworks/ -framework SkyLight
ld: library 'System' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1
When I add Link for System
Library, I failed to link AppKit
Library because I don't know the location for AppKit
clang -std=c99 -O3 -g src/main.c src/parse.c src/mach.c src/hashtable.c src/events.c src/windows.c src/border.c src/animation.c -o bin/borders -framework AppKit -framework CoreVideo -F/System/Library/PrivateFrameworks/ -framework SkyLight -L/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/lib
ld: framework 'AppKit' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1
For the next release I will provide a signed, compiled universal binary such that these problems should no longer be a problem.
+1 having the same issue
I tried installing the janky borders on my 2018 intel macbook pro running on macOS Sonoma(14.4) but i got an error saying that I
ld: library 'System' not found
Is there some libraries need to install as prerequisite? Below is how I install janky borders