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

Can't Install on Mac OS 13.2.1 #20

Closed
harr1424 opened this issue Mar 19, 2023 · 1 comment
Closed

Can't Install on Mac OS 13.2.1 #20

harr1424 opened this issue Mar 19, 2023 · 1 comment

Comments

@harr1424
Copy link

harr1424 commented Mar 19, 2023

What I've tried

Per installation instructions, download and extract source code, execute sudo python3 setup.py install

What happens

Installation fails with the following output:


/Users/user/Desktop/lightblue-0.4-master/src/mac/LightAquaBlue/BBServiceAdvertiser.m:128:20: error: implicit declaration of function
      'IOBluetoothAddServiceDict' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        IOReturn status = IOBluetoothAddServiceDict((CFDictionaryRef) sdpEntries, &serviceRecordRef);
                          ^
/Users/user/Desktop/lightblue-0.4-master/src/mac/LightAquaBlue/BBServiceAdvertiser.m:142:3: error: implicit declaration of function 'IOBluetoothObjectRelease'
      is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                IOBluetoothObjectRelease(serviceRecordRef);
                ^
/Users/user/Desktop/lightblue-0.4-master/src/mac/LightAquaBlue/BBServiceAdvertiser.m:151:9: error: implicit declaration of function
      'IOBluetoothRemoveServiceWithRecordHandle' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return IOBluetoothRemoveServiceWithRecordHandle(handle);
               ^
3 errors generated.

** INSTALL FAILED **


The following build commands failed:
	CompileC /Users/user/Desktop/lightblue-0.4-master/src/mac/LightAquaBlue/build/LightAquaBlue.build/Release/LightAquaBlue.build/Objects-normal/x86_64/BBServiceAdvertiser.o /Users/user/Desktop/lightblue-0.4-master/src/mac/LightAquaBlue/BBServiceAdvertiser.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LightAquaBlue' from project 'LightAquaBlue')
(1 failure)
@harr1424
Copy link
Author

This appears to be the same issue described in #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