-
Notifications
You must be signed in to change notification settings - Fork 52
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
Build binary releases of ESP examples on Linux. #323
Comments
It's a bit harder than I thought: packaging all the shared libraries in a single executable... Here is a list of dependencies for the final executable:
My understanding is that normally you would build with |
Hmm… it might still be worth doing for the gesture recognition example, at least, if possible.
|
BTW, I created a GitHub release here that you should be able to add any Linux binaries to: https://github.com/damellis/ESP/releases |
I've added built binaries. Note these are built for UNIX-GNU ABI. Executing them on different ABI-based machines will cause illegal instructions. I am still learning the difference here and I am not confident if these would work out of box for any Linux machine. Here is the ELF header:
Tips:Using this command to copy all dependencies to
This blog has a script that's useful. AppImage seems to be a tool for this (I haven't tried); the script at the discussion on HN (https://news.ycombinator.com/item?id=11187198) seems to be sharing the same approach with the blog. |
I have taken another look at AppImage, it could be helpful but 1) it's not easy to use directly 2) there is not enough time to get it done. And I am still not understanding if it solves the ABI incompatibility problem. |
Let me know what needs to be done and how I can help with the AppImage. |
Thanks @nebgnahz! We'll try the binaries and if they don't work, at least Linux users tend to have lots of experience building things from source... :) |
@nebgnahz do you have time to do this today? (It's probably not as important as on Mac and Windows, since the compilation pre-requisites aren't as big / slow to download but it would still be nice.) The gesture recognition example is the most important. The Touche, speaker recognition, and color sensor examples would also be nice.
I'll do the Mac and Windows ones.
We should also link these from the wiki; probably from the documentation for the example.
The text was updated successfully, but these errors were encountered: