sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
120 stars 70 forks source link

aarch64_ubuntu20.04_liblsl_install? #222

Open yangyang1018 opened 5 months ago

yangyang1018 commented 5 months ago

How can I install liblsl and its dependencies on ubuntu 20.04 on aarch64 architecture?

tstenner commented 5 months ago

Copying from the CI config:

apt install -y --no-install-recommends g++ git ninja-build file dpkg-dev lsb-release sudo curl cmake libpugixml-dev
cmake -S . -B build \
                -DCMAKE_BUILD_TYPE=Release \
                -DCMAKE_INSTALL_PREFIX=${PWD}/install \
                -DLSL_UNITTESTS=ON \
                -DLSL_BENCHMARKS=ON \
                -DLSL_BUILD_EXAMPLES=ON \
                -DCPACK_PACKAGE_DIRECTORY=${PWD}/package
cmake --build build --target package --config Release -j
cmake -DCPACK_DEBIAN_PACKAGE_SHLIBDEPS=ON .
sudo dpkg -i package/*.deb
cmake --build build --target package --config Release -j
dpkg -I package/liblsl*.deb
yangyang1018 commented 5 months ago

Is it necessary for me to run this command in the terminal?

yangyang1018 commented 5 months ago

Thank you, I've installed it and appreciate the instructions!