PhilipsHue / HueSDK

Philips Hue Software Development Kit
98 stars 39 forks source link

Provide huesdk nativ lib source or at least statically linked #19

Closed abierfert closed 6 years ago

abierfert commented 6 years ago

Currently the usability of huesdk.so is quite confined. E.g. it requires a very specific version of stdc++ which might be present on Ubuntu (until an update happens and things break) but makes it unusable on other Linux systems (even if they are x86_64).

A perfect solution would be to provide the source code so it can be compiled by the developers for the target systems.

If it is not possible to provide the source code (or until then) a statically linked version would help, so all dependent libraries are included.

jhvdb87 commented 6 years ago

Sorry for the late response, but I put this item on our backlog. Opensource the SDK is under discussion, but will not happen soon.

mrwhy-orig commented 6 years ago

@jhvdb87 Should we add this one to the new repo? Anyway are there any updates on this?

jhvdb87 commented 6 years ago

Yes, there is an update. Our linux binaries are now statically linked against libstdc++. However this is not released yet. The timeline for the release is mentioned in this ticket: https://github.com/PhilipsHue/HueSDK/issues/12

We will try to speed up releases in te future, this is why we are moving to the other repository where it is for us easier to release new features to the public rather than only internally for our app. :)

misterzirillo commented 6 years ago

Would this linking issue be the cause of an "UnsatisfiedLinkError" for every SDK call from my Archlinux machine? I am successfully loading libhuesdk.so before any call.

mrwhy-orig commented 6 years ago

@mrcirillo Yepp.

mrwhy-orig commented 6 years ago

@jhvdb87 Do you have a more concrete release date yet? Thx!

jhvdb87 commented 6 years ago

Released on our new repo.