You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
undefined symbol: lsl_library_info (missing from compiled liblsl32armv7l.so) #336
I am wondering if lsl_library_info() function was added recently (within the past year), so the ARM library needs to be recompiled from the updated source.
If that is the case, I would appreciate guidance on how to compile liblsl32.so on a Raspberry Pi.
From what I have heard, it may take 3 hours, ... so I am hoping to get some help in the process, so it will be successful the first time.
First, install the build environment (see here; short: install g++ / clang++, CMake, and optionally git). Then, clone the liblsl repository or download and unzip the archive.
On a plain 3B without overclocking and a slow SD card it takes about 13 minutes, but you have to limit the build to 3 concurrent processes. A deb package for Raspbian is available at the releases page
Great. Can you please add this link to the PR which is where I have been sending?
Also, can you test the lib I built? I hope to include it in pylsl on pypi. I can use your .so file but I would like to be able to generate it on the fly when needed.
Activity
tstenner commentedon Aug 15, 2018
First, install the build environment (see here; short: install g++ / clang++, CMake, and optionally git). Then, clone the liblsl repository or download and unzip the archive.
In the downloaded folder, do
mkdir build; cd buildcmake -DLSL_LSLBOOST_PATH=lslboost ..time cmake --build . --target installtstenner commentedon Aug 15, 2018
To speed things up, you could try a branch with some compilation speed optimizations and/or install ninja beforehand (add
-G Ninjato the first cmake invocation)tstenner commentedon Aug 17, 2018
See also sccn/liblsl#2
cboulay commentedon Aug 17, 2018
Please test the .so I attached to a comment on sccn/liblsl#2
tstenner commentedon Aug 17, 2018
On a plain 3B without overclocking and a slow SD card it takes about 13 minutes, but you have to limit the build to 3 concurrent processes. A deb package for Raspbian is available at the releases page
cboulay commentedon Aug 17, 2018
Great. Can you please add this link to the PR which is where I have been sending?
Also, can you test the lib I built? I hope to include it in pylsl on pypi. I can use your .so file but I would like to be able to generate it on the fly when needed.
tstenner commentedon Aug 19, 2018
I'm currently out of the country with only my smartphone at hand, so I can't do anything before next week