sccn / liblsl

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

aarch64_ubuntu20.04_liblsl_install? #222

Open yangyang1018 opened 1 week ago

yangyang1018 commented 1 week ago

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

tstenner commented 1 week 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 1 week ago

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

yangyang1018 commented 1 week ago

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