Closed Boris870315 closed 1 year ago
standalone_compilation_linux.sh is not working on my pi
Let's fix this. What kind of Raspberry Pi? What OS?
$ mv $SITE_PACKAGES/pylsl/lib $SITE_PACKAGES/pylsl/liblsl.so
$ mkdir $SITE_PACKAGES/pylsl/lib
$ mv $SITE_PACKAGES/pylsl/liblsl.so $SITE_PACKAGES/pylsl/lib
I have no idea what that's doing. It doesn't look right to me. Let's focus on enabling you to build liblsl.so on your pi.
my raspberry pi system is Raspberry os (64bit) and the version is Raspberry Pi 4.
I have a 4B and I'm using Raspberry Pi OS 64-bit as well and I'm able to build. Can you please provide the error log from a failed attempt to build?
https://drive.google.com/file/d/1dIiRcyaoLjfC6xQq1Qblz_eudV2W6dd_/view?usp=sharing Is this what you want?
No. Please paste the output of gcc --version
.
Also please paste the output of bash -e standalone_compilation_linux.sh
boris@raspberrypi:~ $ gcc --version gcc (Debian 10.2.1-6) 10.2.1 20210110 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
boris@raspberrypi:~ $ bash -e standalone_compilation_linux.sh bash: standalone_compilation_linux.sh: No such file or directory
git clone https://github.com/sccn/liblsl.git
cd liblsl
bash -e standalone_compilation_linux.sh
still not working, jupyter is showing the same issue. The gcc version output is gcc (Debian 10.2.1-6) 10.2.1 20210110, and bash: standalone_compilation_linux.sh: No such file or directory.
Forget the bash -e
part.
If you cd into the liblsl directory that you just cloned, and then run ./standalone_compilation_linux.sh
, what happens?
None of the Python / Jupyter errors matter. All that matters right now is running that script.
it show like this
That's great, it worked! Copy the generated liblsl.so into $SITE_PACKAGES/pylsl/lib
thanks, it works now
This is the original issue. LSL binary library file was not found. Please make sure that the binary file can be found in the package lib folder (/home/boris/.local/lib/python3.9/site-packages/pylsl/lib) or the system search path.
standalone_compilation_linux.sh is not working on my pi. thus, i use pip install pylsl. $ mv $SITE_PACKAGES/pylsl/lib $SITE_PACKAGES/pylsl/liblsl.so $ mkdir $SITE_PACKAGES/pylsl/lib $ mv $SITE_PACKAGES/pylsl/liblsl.so $SITE_PACKAGES/pylsl/lib I also tried this three comments on my pi, but also not working.