sccn / labstreaminglayer

LabStreamingLayer super repository comprising submodules for LSL and associated apps.
Other
522 stars 157 forks source link

liblsl on a Raspberry pi #110

Closed hernandezurbina closed 1 year ago

hernandezurbina commented 1 year ago

Hi,

I'm trying to run LSL on a RPi (Raspbian Lite kernel version 5.10). I pip installed pylsl on Python 3.7 and then cloned liblsl following the instructions on the repo, and ran a shell script to build liblsl.so, which happened without any issues. I then, created a symlink for the .so file in my [home]/env/lib/python3.7/site-packages/pylsl/lib However everytime I try to run a test using lsl, I get an error that the LSL binary file couldn't be found. I also set up the PYLSL_LIB environment variable pointing to the dir where I built the .so file, but that didn't work either. What could I be missing? Thanks!

cboulay commented 1 year ago

PYLSL_LIB should include the filename: /path/to/built/liblsl.so https://github.com/labstreaminglayer/liblsl-Python/blob/master/pylsl/pylsl.py#L1214-L1215

I'll close this but if you're still having trouble then please open an issue in the liblsl-Python repo.