0-1-0 / lightblue-0.4

LightBlue python module that compiles successful on OS X 10.8 (Mountain Lion)
GNU General Public License v3.0
96 stars 92 forks source link

Can't Install on Mac OS 13.2.1 #20

Closed harr1424 closed 1 year ago

harr1424 commented 1 year ago

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 commented 1 year ago

This appears to be the same issue described in #15.