Comments (11)
from lsl_archived.
I've never tested it, but here has a liblslAndroid.so ... so I guess it worked for somebody at some point. I'm pretty sure that .so has not been compiled in a while so it is almost definitely missing some of the newer inlet features related to inlet postprocessing.
from lsl_archived.
Okay I'll look into it, thanks!
from lsl_archived.
FWIW the liblsl.so contained in the APKs is exactly the same as the one you need, Java just needs the libjnidetach.so as interface to the native library.
The Android binaries only differ from the "regular" Linux / OS X binaries in the libc they're linked against, so you can use them with Java, Unity or anything else as long as your device is an Android device.
from lsl_archived.
Quick update: you can unzip the AAR archive and extract the binaries for the most common CPU architectures.
from lsl_archived.
Any luck with this? I'm also trying to run LSL on my Magic Leap. I have been using https://github.com/xfleckx/LSL4Unity, which works if I'm running with MLRemote, but gives me errors when I actually build and run on the ML. So far, I have figured out that I'm missing the .so (and maybe .dll) files in the build.
-
What are the appropriate .so/.dll files for the Magic Leap? (and where/how can I get them?) I have tried the 32 and 64 bit versions in the LSL4Unity and get "Plugins: Couldn't open /package/bin/../../documents/C2/liblsl64.so, error: dlopen failed: "/documents/C2/liblsl64.so" is 32-bit instead of 64-bit" (which is odd). I also tried another liblsl.so file from liblsl-1.12-java-release\jni\arm64-v8a and got:
"Plugins: Couldn't open /package/bin/../../documents/C2/liblsl.so, error: dlopen failed: couldn't map "/documents/C2/liblsl.so" segment 0: Executable file rejected (binary signature verification failed)". -
Is there a way to get my build to include the appropriate files? Right now, it looks in /package/bin and in /system/lib64, but neither includes the files at all. The only way I have been able to make any progress is by manually pushing the .so/.dll files to the ML device and pointing to them by listing the name as "../../documents/C2/liblsl.so", which feels a bit sloppy.
from lsl_archived.
from lsl_archived.
It's an mixed/augmented reality headset. The CPU has 2 Denver 2.0 64-bit cores + 4 ARM Cortex A57 64-bit cores.
from lsl_archived.
If it's an Android device, take a look at the link I posted above.
from lsl_archived.
Thanks, it did work with one of the libs (I had the wrong one before). Thanks!
from lsl_archived.
@smichalka I'm sorry I switched to making this work on Android first and I am now revisiting getting this to work on Magic Leap. Did the AAR above get LSL working on Magic Leap for you?
from lsl_archived.
Related Issues (20)
- How to change output dimension of inlet.pull_sample() HOT 5
- Default values for lsl_api.cfg are hard-coded and confusing HOT 1
- Which pylsl? HOT 3
- Cmake issue when build LabStreamingLayer application for Emotiv HOT 14
- Not reading serial data from Arduino
- LSL DLL on ARM64 Architecture HOT 4
- Can't Run LabRecorder App on Mac OS 10.13.4 HOT 1
- Connection to smartphone HOT 1
- C++ 2015 professional and matlab 2015b HOT 1
- windows 10 LAN lsl fail HOT 7
- the trouble with __func__ HOT 9
- Firewall settings for LSL to work? HOT 2
- External native build issues while building LSL Android Studio examples HOT 4
- Errors when building BrainAmp App HOT 1
- Missing timeout parameter in C# binding for wait_for_consumers()
- BrainVisionRDA: compilation error (CMake on Windows) HOT 2
- pull_chunk starts and KEEPS returning empty after a short delay in stream AND stream is back HOT 1
- blocking call to pull_sample become unresponsive when no data available HOT 3
- How to load xdf multiple file ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsl_archived.