sccn / liblsl

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

compiling problem under ARM core (Nvidia Jetson Nano)? #124

Closed Thanh-Binh closed 3 years ago

Thanh-Binh commented 3 years ago

I am trying to compile this SW in Nano, but by runing cmake ..

I have error: CMake Error at LSL/liblsl/CmakeLists.txt:162 (target_link_libraries: Object library target "lslboost" may not link to anything

Do you have any idea for solving this problem? Thanks

tstenner commented 3 years ago

For embedded devices it's easier to run the standalone_compilation_linux.sh script.

Of course, CMake is also supposed to work on embedded devices. Could you check the CMake version (cmake --version)?

Thanh-Binh commented 3 years ago

Thanks Can I compile it as static library?

tstenner commented 3 years ago

Sure, just replace "-shared" with "-static" in the script.