Skip to content
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

Cannot build #352

Open
paeifbnaeufbpae opened this issue Apr 26, 2024 · 0 comments
Open

Cannot build #352

paeifbnaeufbpae opened this issue Apr 26, 2024 · 0 comments

Comments

@paeifbnaeufbpae
Copy link

Cloned the repo, ran make install, got the following error back:

~/skhd $ make install
rm -rf ./bin
mkdir -p ./bin
clang src/skhd.c -std=c99 -Wall -O2 -framework Cocoa -framework Carbon -framework CoreServices -o bin/skhd
In file included from src/skhd.c:30:
src/service.h:136:9: error: call to undeclared function '_NSGetExecutablePath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  136 |     if (_NSGetExecutablePath(exe_path, &exe_path_size) < 0) {
      |         ^

The readme says building requires "xcode-8 command-line tools". Does that mean >= 8 or == 8?

If == 8, how does one even downgrade their Xcode command-line tools version?

According to pkgutil --pkg-info=com.apple.pkg.CLTools_Executables, I'm on version 15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant