Page 1 of 1

openvibe 2.2 installation in Raspberry Pi 3 Model B+

Posted: Mon Feb 25, 2019 8:51 am
by jeban83
Appreciate if anyone can throw some insight into how to install openvibe 2.2 in Raspberry Pi 3 Model B+ running Raspbian OS.

Re: openvibe 2.2 installation in Raspberry Pi 3 Model B+

Posted: Wed Mar 13, 2019 1:30 pm
by Thibaut
Hi,
it will have been long, but I found someone who had already succeed to compile on Raspbian an old version of openvibe (1.2.2).
On extra/CMakeLists.txt and sdk/CMakeLists.txt
comment with à # the line

Code: Select all

SET(OV_EIGEN_FLAGS "-msse2")
He disable an optimization
in extra/application/demos/CMakeLists.txt
comment the line

Code: Select all

OV_ADD_PROJECTS("APPLICATIONS_DEMOS")
He disable demos applications
He change an other thing for dependencies but they have change a lot since this old version.

Re: openvibe 2.2 installation in Raspberry Pi 3 Model B+

Posted: Fri Mar 15, 2019 2:40 am
by jeban83
Hi,
Thanks for the response but this did not help. Getting the same error:

Compiling lsl ...
cp: cannot stat 'liblsl/build/src/liblsl.so': No such file or directory
Running extras/scripts//linux-dep-helpers//linux-compile-vrpn.pl ...
Compiling vrpn ...
cp: cannot stat 'vrpn/quat/pc_linux64/*.a': No such file or directory
cp: cannot stat 'vrpn/pc_linux64/*.a': No such file or directory
Running extras/scripts//linux-dep-helpers//linux-compile-itpp.pl ...
OpenViBE SDK dependencies were successfully installed

Any guidance,

Thanks

Re: openvibe 2.2 installation in Raspberry Pi 3 Model B+

Posted: Thu May 27, 2021 5:05 pm
by thunfisch96
Hi,

Got the same error:

Code: Select all

Running extras/scripts//linux-dep-helpers//linux-compile-vrpn.pl ...
Compiling vrpn ...
cp: cannot stat 'vrpn/quat/pc_linux64/*.a': No such file or directory
cp: cannot stat 'vrpn/pc_linux64/*.a': No such file or directory
Did you solve the problem?

Re: openvibe 2.2 installation in Raspberry Pi 3 Model B+

Posted: Wed Aug 04, 2021 8:40 am
by Thomas
Hi,

The error you are showing is from the dependencies install script.
There seem to be a problem with vrpn and lsl libs.

The install dependencies scripts downloads archives of lsl and vrpn, uncompresses them and builds them. Compilation seems to have failed since your log shows that the .so and .a files could not be found.

The script dealing with VRPN is extras/scripts/linux-dep-helpers/linux-compile-vrpn.pl.
The script is configuring the Makefiles of VRPN before building it. And it is not doing it for an ARM architecture.
Before you modify the script, remove the previously modified folders dependencies/arch/vrpn.
You can modify the script this way:
- remove lines 29 to 47
- replace with the two following lines:
system('sed -i "s/#HW_OS := pc_linux$/HW_OS := pc_linux_arm/g" vrpn/quat/Makefile');
system('sed -i "s/#HW_OS := pc_linux$/HW_OS := pc_linux_arm/g" vrpn/Makefile');
- Run install-dependencies.sh again.
- If there is still an issue, you can look at the build logs in dependencies/arch/vrpn/make-vrpn.log and dependencies/arch/vrpn/quat/make-quat.log

The script dealing with LSL is extras/scripts/linux-dep-helpers/linux-compile-lsl.pl.
It doesn't do any architecture specific work. You can look at the build logs which are dependencies/arch/LSL/liblsl/build/make-liblsl.log and dependencies/arch/LSL/liblsl/build/cmake-liblsl.log to find more about what went wrong.

Hope this helps. Let us know what you find and how you get on.

Cheers,
Thomas