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)
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: