Building openvibe-3.0.0 on Raspberry Pi 4 with Ubuntu 20.04

Post Reply
thunfisch96
Posts: 7
Joined: Wed May 12, 2021 2:27 pm

Building openvibe-3.0.0 on Raspberry Pi 4 with Ubuntu 20.04

Post by thunfisch96 »

Hello,
I'm trying to build openvibe-3.0.0 on Raspberry Pi 4 with Ubuntu 20.04.
After adding:
"} elsif ($lsb_release =~ '21.04') {
$distribution = 'Ubuntu 16.04';
}"
in sdk/scripts/linux-install_dependencies.pl and deleting in: extras/scripts/linux-dependencies-ubuntu16_plus.txt the "python-numpy" dependence the install_dependencies.sh is running succesfully.

To run the build.sh file i deleted the "msse2" sections in the CMakeLists.txt file.
But running the build.sh will throw an Error:

Code: Select all

/home/openvibe-3.0.0-src/extras/plugins/processing/file-io/src/box-algorithms/bci2000reader/ovpCBCI2000ReaderHelper.cpp:6:10: fatal error: boost/detail/endian.hpp: No such file or directory
    6 | #include <boost/detail/endian.hpp>
    
make: *** [Makefile:149: all] Error 2
Error while building extras
I don't know why no header files can be found.

Thomas
Posts: 68
Joined: Wed Mar 04, 2020 3:38 pm

Re: Building openvibe-3.0.0 on Raspberry Pi 4 with Ubuntu 20.04

Post by Thomas »

Hi,

The missing file should have been installed in "/usr/include/boost/detail/endian.hpp" when running install_dependencies.
Did you check for its presence there ?

If it's not there, I assume that install_dependencies script may have stopped before finishing because something failed.
Could you double check this ? Feel free to share the logs to understand what potentially fails.

Cheers,
Thomas

thunfisch96
Posts: 7
Joined: Wed May 12, 2021 2:27 pm

Re: Building openvibe-3.0.0 on Raspberry Pi 4 with Ubuntu 20.04

Post by thunfisch96 »

Hi,

Sorry made a mistake version is Ubuntu 21.04.
When running install_dependencies.sh i receive the message: OpenViBE SDK dependencies were successfully installed.
But in "/usr/include/boost" no endian.hpp can be found. So install_dependencies.sh did not run correctly.

Follwing the output of: bci@pi:/home/openvibe-3.0.0-src$ sudo ./install_dependencies.sh --debug

Code: Select all

Installing dependencies for: Ubuntu 16.04
Install command: sudo apt-get install
Opening package manifest file sdk/scripts//linux-dependencies-ubuntu16_plus.txt ...
Updating package database...
Adding component(s) 'universe' to all repositories.
Press [ENTER] to continue or Ctrl-c to cancel.
OK:1 http://ports.ubuntu.com/ubuntu-ports hirsute InRelease
OK:2 http://ports.ubuntu.com/ubuntu-ports hirsute-updates InRelease
OK:3 http://ports.ubuntu.com/ubuntu-ports hirsute-backports InRelease
OK:4 http://ports.ubuntu.com/ubuntu-ports hirsute-security InRelease
Paketlisten werden gelesen… Fertig
OK:1 http://ports.ubuntu.com/ubuntu-ports hirsute InRelease
OK:2 http://ports.ubuntu.com/ubuntu-ports hirsute-updates InRelease
OK:3 http://ports.ubuntu.com/ubuntu-ports hirsute-backports InRelease
OK:4 http://ports.ubuntu.com/ubuntu-ports hirsute-security InRelease
Paketlisten werden gelesen… Fertig
Will install following packages:
Paketlisten werden gelesen… Fertigbexpat1-dev libncurses5-dev libboost-dev libboost-thread-dev libboost-regex-dev libboost-chrono-dev libboost-filesystem-dev ninja-build libzzip-dev libxerces-c-dev libgtest-dev
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
g++ ist schon die neueste Version (4:10.3.0-1ubuntu1).
gcc ist schon die neueste Version (4:10.3.0-1ubuntu1).
libboost-dev ist schon die neueste Version (1.74.0.3ubuntu5).
libboost-regex-dev ist schon die neueste Version (1.74.0.3ubuntu5).
libboost-thread-dev ist schon die neueste Version (1.74.0.3ubuntu5).
libexpat1-dev ist schon die neueste Version (2.2.10-2).
libncurses5-dev ist schon die neueste Version (6.2+20201114-2build1).
libssl-dev ist schon die neueste Version (1.1.1j-1ubuntu3).
make ist schon die neueste Version (4.3-4ubuntu1).
doxygen ist schon die neueste Version (1.9.1-2ubuntu1).
libboost-chrono-dev ist schon die neueste Version (1.74.0.3ubuntu5).
libboost-filesystem-dev ist schon die neueste Version (1.74.0.3ubuntu5).
libgtest-dev ist schon die neueste Version (1.10.0.20201025-1.1).
libxerces-c-dev ist schon die neueste Version (3.2.3+debian-3).
libzzip-dev ist schon die neueste Version (0.13.62-3.3).
ninja-build ist schon die neueste Version (1.10.1-1).
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  cryptsetup-bin dctrl-tools dmeventd dmraid dpkg-repack efibootmgr gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64 grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4
  libdevmapper-event1.02.1 libdmraid1.0.0.rc16 liblvm2cmd2.03 libtimezonemap-data libtimezonemap1 lvm2 os-prober python3-icu python3-pam rdate thin-provisioning-tools
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 59 nicht aktualisiert.
Running sdk/scripts//linux-dep-helpers//linux-compile-cmake.pl ...
Found cmake folder in deps
cmake version found: 3.18
Running sdk/scripts//linux-dep-helpers//linux-compile-gtest.pl ...
-- The CXX compiler identification is GNU 10.3.0
-- The C compiler identification is GNU 10.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.18")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/openvibe-3.0.0-src/dependencies/gtest-build
ninja: no work to do.
Running sdk/scripts//linux-dep-helpers//linux-compile-eigen.pl ...
URL transformed to HTTPS due to an HSTS policy
--2021-05-26 10:33:42--  https://bitbucket.org/eigen/eigen/get/3.2.9.tar.bz2
Resolving bitbucket.org (bitbucket.org)... 2406:da00:ff00::22c2:513, 2406:da00:ff00::22c3:9b0a, 2406:da00:ff00::6b17:d1f5, ...
Connecting to bitbucket.org (bitbucket.org)|2406:da00:ff00::22c2:513|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-26 10:33:43 ERROR 404: Not Found.

Could not download the Eigen sources [2048] at (eval 14) line 33, <$pl_file_handle> chunk 1.
OpenViBE SDK dependencies were successfully installed
Installing dependencies for: Ubuntu 16.04
Install command: sudo apt-get install
Opening package manifest file designer/scripts//linux-dependencies-ubuntu16_plus.txt ...
Updating package database...
Adding component(s) 'universe' to all repositories.
Press [ENTER] to continue or Ctrl-c to cancel.
OK:1 http://ports.ubuntu.com/ubuntu-ports hirsute InRelease
OK:2 http://ports.ubuntu.com/ubuntu-ports hirsute-updates InRelease
OK:3 http://ports.ubuntu.com/ubuntu-ports hirsute-backports InRelease
OK:4 http://ports.ubuntu.com/ubuntu-ports hirsute-security InRelease
Paketlisten werden gelesen… Fertig
OK:1 http://ports.ubuntu.com/ubuntu-ports hirsute InRelease
Holen:2 http://ports.ubuntu.com/ubuntu-ports hirsute-updates InRelease [109 kB]
OK:3 http://ports.ubuntu.com/ubuntu-ports hirsute-backports InRelease
OK:4 http://ports.ubuntu.com/ubuntu-ports hirsute-security InRelease
Holen:5 http://ports.ubuntu.com/ubuntu-ports hirsute-updates/main arm64 Packages [137 kB]
Holen:6 http://ports.ubuntu.com/ubuntu-ports hirsute-updates/universe arm64 Packages [176 kB]
Es wurden 422 kB in 2 s geholt (213 kB/s).
Paketlisten werden gelesen… Fertig
Will install following packages:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
libglade2-dev ist schon die neueste Version (1:2.6.4-2.3).
libgtk2.0-dev ist schon die neueste Version (2.24.33-1ubuntu2).
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  cryptsetup-bin dctrl-tools dmeventd dmraid dpkg-repack efibootmgr gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64 grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4
  libdevmapper-event1.02.1 libdmraid1.0.0.rc16 liblvm2cmd2.03 libtimezonemap-data libtimezonemap1 lvm2 os-prober python3-icu python3-pam rdate thin-provisioning-tools
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 59 nicht aktualisiert.
OpenViBE SDK dependencies were successfully installed
Installing dependencies for: Ubuntu 16.04
Install command: sudo apt-get install
Opening package manifest file extras/scripts//linux-dependencies-ubuntu16_plus.txt ...
Updating package database...
Adding component(s) 'universe' to all repositories.
Press [ENTER] to continue or Ctrl-c to cancel.
OK:1 http://ports.ubuntu.com/ubuntu-ports hirsute InRelease
OK:2 http://ports.ubuntu.com/ubuntu-ports hirsute-updates InRelease
OK:3 http://ports.ubuntu.com/ubuntu-ports hirsute-backports InRelease
OK:4 http://ports.ubuntu.com/ubuntu-ports hirsute-security InRelease
Paketlisten werden gelesen… Fertig
OK:1 http://ports.ubuntu.com/ubuntu-ports hirsute InRelease
OK:2 http://ports.ubuntu.com/ubuntu-ports hirsute-updates InRelease
OK:3 http://ports.ubuntu.com/ubuntu-ports hirsute-backports InRelease
OK:4 http://ports.ubuntu.com/ubuntu-ports hirsute-security InRelease
Paketlisten werden gelesen… Fertig
Will install following packages:
libogre-1.9-dev wget automake  autoconf unzip gfortran  libgsl-dev libreadline-dev libtool  libxaw7-dev  libpcre3-dev  libfreeimage-dev  libglu1-mesa-dev  libalut-dev  libvorbis-dev libeigen3-dev libcegui-mk2-dev  libois-dev liblua5.1-0-Paketlisten werden gelesen… Fertiglibfftw3-dev   python-dev  sqlite
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Hinweis: »python-dev-is-python2« wird an Stelle von »python-dev« gewählt.
autoconf ist schon die neueste Version (2.69-14).
automake ist schon die neueste Version (1:1.16.3-2ubuntu1).
gfortran ist schon die neueste Version (4:10.3.0-1ubuntu1).
libfftw3-dev ist schon die neueste Version (3.3.8-2ubuntu6).
libglu1-mesa-dev ist schon die neueste Version (9.0.1-1build1).
libpcre3-dev ist schon die neueste Version (2:8.39-13build3).
libreadline-dev ist schon die neueste Version (8.1-1).
libtool ist schon die neueste Version (2.4.6-15).
libvorbis-dev ist schon die neueste Version (1.3.7-1).
libxaw7-dev ist schon die neueste Version (2:1.0.13-1.1).
unzip ist schon die neueste Version (6.0-26ubuntu1).
wget ist schon die neueste Version (1.21-1ubuntu3).
libalut-dev ist schon die neueste Version (1.1.0-6).
libcegui-mk2-dev ist schon die neueste Version (0.8.7-9build1).
libeigen3-dev ist schon die neueste Version (3.3.9-2).
libfreeimage-dev ist schon die neueste Version (3.18.0+ds2-6ubuntu3).
libgsl-dev ist schon die neueste Version (2.6+dfsg-2).
libitpp-dev ist schon die neueste Version (4.3.1-9.1).
liblua5.1-0-dev ist schon die neueste Version (5.1.5-8.1build4).
libogre-1.9-dev ist schon die neueste Version (1.9.0+dfsg1-12build1).
libois-dev ist schon die neueste Version (1.3.0+dfsg0-6build1).
libsqlite0-dev ist schon die neueste Version (2.8.17-15fakesync1build1).
python-dev-is-python2 ist schon die neueste Version (2.7.18-9).
sqlite ist schon die neueste Version (2.8.17-15fakesync1build1).
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  cryptsetup-bin dctrl-tools dmeventd dmraid dpkg-repack efibootmgr gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64 grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4
  libdevmapper-event1.02.1 libdmraid1.0.0.rc16 liblvm2cmd2.03 libtimezonemap-data libtimezonemap1 lvm2 os-prober python3-icu python3-pam rdate thin-provisioning-tools
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 59 nicht aktualisiert.
Running extras/scripts//linux-dep-helpers//linux-compile-lsl.pl ...
Compiling lsl ...
cp: cannot stat 'liblsl/build/src/liblsl.so': No such file or directory
Running extras/scripts//linux-dep-helpers//linux-compile-itpp.pl ...
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
OpenViBE SDK dependencies were successfully installed




And following the output of: sudo ./build.sh --debug

Code: Select all

unix-init-env: adding dependencies to path
Building sdk
**************************************
Build with parameters:
[build-type] = Debug
[build-dir] = /home/openvibe-3.0.0-src/build/sdk-Debug
[dependencies-dir token] = -DOV_CUSTOM_DEPENDENCIES_PATH=/home/openvibe-3.0.0-src/dependencies
[install-dir] = /home/openvibe-3.0.0-src/dist/sdk-Debug
[test data directory token] = -DOVT_TEST_DATA_DIR=/home/openvibe-3.0.0-src/dependencies/test-input
[test output files directory] = /home/openvibe-3.0.0-src/build/sdk-Debug/validation-test-output/
[build unit] = 1
[build validation] = 1
[brand name] = OpenViBE
[user data subdirectory] = -DOV_CONFIG_SUBDIR=openvibe-3.0.0-src
[display-error-location] = ON
**************************************


Generating build system files with cmake...
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:4 (cmake_policy):
  The OLD behavior for policy CMP0043 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:5 (cmake_policy):
  The OLD behavior for policy CMP0045 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0048 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Could NOT find Git (missing: GIT_EXECUTABLE)
CMake Warning at cmake-modules/Utilities.cmake:26 (message):
  Git not found, set version to 0.0.0
Call Stack (most recent call first):
  CMakeLists.txt:13 (set_version)


-- BUILDING VERSION OpenViBE SDK: 0.0.0.0 Branch : unknown~0
-- Appending compilation flags...
-- Compilation flags used at source root:
--   COMPILE_DEFINITIONS = 'OV_CONFIG_SUBDIR="openvibe-3.0.0-src";OV_PROJECT_NAME="OpenVIBE";OV_VERSION_MAJOR="0";OV_VERSION_MINOR="0";OV_VERSION_PATCH="0";OV_CMAKE_PATH_ROOT="/home/openvibe-3.0.0-src/dist/sdk-Debug";OV_CMAKE_PATH_BIN="/home/openvibe-3.0.0-src/dist/sdk-Debug/bin";OV_CMAKE_PATH_LIB="/home/openvibe-3.0.0-src/dist/sdk-Debug/lib";OV_CMAKE_PATH_DATA="/home/openvibe-3.0.0-src/dist/sdk-Debug/share/openvibe"'
--   CMAKE_CXX_FLAGS = ' -fopenmp -Wall '
--   CMAKE_CXX_FLAGS_RELEASE = '-O3 -DNDEBUG'
--   CMAKE_CXX_FLAGS_DEBUG = '-g'
--   Found dl...
--   Found pthread...
--   Found dl...
--   Found pthread...
-- CUSTOM DOCUMENTATION ENABLED FOR ebml
-- Project ebml has custom documentation
-- Documentation files found in /home/openvibe-3.0.0-src/sdk/plugins/processing/classification/doc
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.9
-- Documentation files found in /home/openvibe-3.0.0-src/sdk/plugins/processing/data-generation/doc
-- Documentation files found in /home/openvibe-3.0.0-src/sdk/plugins/processing/feature-extraction/doc
-- Documentation files found in /home/openvibe-3.0.0-src/sdk/plugins/processing/file-io/doc
-- Documentation files found in /home/openvibe-3.0.0-src/sdk/plugins/processing/signal-processing/doc
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.9
-- Documentation files found in /home/openvibe-3.0.0-src/sdk/plugins/processing/stimulation/doc
-- Documentation files found in /home/openvibe-3.0.0-src/sdk/plugins/processing/streaming/doc
-- Documentation files found in /home/openvibe-3.0.0-src/sdk/plugins/processing/tools/doc
--   Found OpenViBE module Communication... /openvibe-module-communication
--   Found OpenViBE module Communication... /openvibe-module-communication
--   Found OpenViBE module Communication... /openvibe-module-communication
-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development Development.Module Development.Embed) (found version "3.9.4")
-- Found Python3 at /usr/bin/python3.9
-- Configuring done
-- Generating done
-- Build files have been written to: /home/openvibe-3.0.0-src/build/sdk-Debug
Generation succeeded!
Building project...
[0/1] Install the project...
-- Install configuration: "Debug"
-- Installing: /home/openvibe-3.0.0-src/dist/sdk-Debug/.install
Build succeeded!
Building designer
**************************************
Build with parameters:
[build-type] = Debug
[build-dir] = /home/openvibe-3.0.0-src/build/designer-Debug
[install-dir] = /home/openvibe-3.0.0-src/dist/designer-Debug
[test-data-dir] = /home/openvibe-3.0.0-src/designer/scripts/../dependencies/test-data
[sdk] = /home/openvibe-3.0.0-src/dist/sdk-Debug
[oem-distribution] = openvibe
[display-error-location] = ON
**************************************


Generating build system files with cmake...
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:5 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0043 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:7 (cmake_policy):
  The OLD behavior for policy CMP0045 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:8 (cmake_policy):
  The OLD behavior for policy CMP0048 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Could NOT find Git (missing: GIT_EXECUTABLE)
CMake Warning at cmake-modules/Utilities.cmake:54 (message):
  Git not found, set version to 0.0.0
Call Stack (most recent call first):
  CMakeLists.txt:55 (set_version)


-- BUILDING VERSION Designer: 0.0.0.0 Branch : unknown~0. Based on OpenViBE SDK: 0.0.0.0
-- Building OpenViBE Designer [openvibe] Version : 0.0.0 unknown~0
-- Now building openvibe-plugins-designer-advanced-visualization 0.0.0 (unknown~0)
-- Now building openvibe-plugins-designer-simple-visualization 0.0.0 (unknown~0)
-- Now building mensia-advanced-visualization 0.0.0 (unknown~0)
-- Now building openvibe-lib-adv-viz-test-renderer 0.0.0 (unknown/0)
-- Now building openvibe-visualization-toolkit 0.0.0 (unknown~0)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/openvibe-3.0.0-src/build/designer-Debug
Generation succeeded!
Building project...
[1/2] Install the project...
-- Install configuration: "Debug"
-- Installing: /home/openvibe-3.0.0-src/dist/designer-Debug/.install
Build succeeded!
Building extras

_______________________________________________________________________________

/home/openvibe-3.0.0-src/build/extras-Debug /home/openvibe-3.0.0-src/extras/scripts

Creating makefiles...

CMake Deprecation Warning at CMakeLists.txt:5 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0043 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:7 (cmake_policy):
  The OLD behavior for policy CMP0048 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Appending compilation flags...
--   Found OpenViBE SDK... [/home/openvibe-3.0.0-src/dist/sdk-Debug]
  Found Designer... [/home/openvibe-3.0.0-src/dist/designer-Debug]
-- Compilation flags used at source root:
--   COMPILE_DEFINITIONS = 'OV_CMAKE_PATH_ROOT="/home/openvibe-3.0.0-src/dist/extras-Debug";OV_CMAKE_PATH_BIN="/home/openvibe-3.0.0-src/dist/extras-Debug/bin";OV_CMAKE_PATH_LIB="/home/openvibe-3.0.0-src/dist/extras-Debug/lib";OV_CMAKE_PATH_DATA="/home/openvibe-3.0.0-src/dist/extras-Debug/share/openvibe";OV_Shared;TARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines;OV_PROJECT_NAME="OpenViBE";OV_VERSION_MAJOR="3";OV_VERSION_MINOR="0";OV_VERSION_PATCH="0";OV_CONFIG_SUBDIR="openvibe-3.0.0-src";TARGET_OS_Linux_Debian;TARGET_ARCHITECTURE_x64;TARGET_OS_Linux;TARGET_COMPILER_GCC'
--   CMAKE_CXX_FLAGS = ' -fopenmp -Wall '
--   CMAKE_CXX_FLAGS_RELEASE = '-O3 -DNDEBUG'
--   CMAKE_CXX_FLAGS_DEBUG = '-g'
-- Note: Disabling Matlab plugin compilation by default
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.9
--   Found eigen3...
--   Found boost includes...
--   Found OpenViBE module Geometry...        /home/openvibe-3.0.0-src/extras/modules/geometry/include
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.9
--     [  OK  ] lib /usr/lib/aarch64-linux-gnu/libboost_system.so
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.9
--   Found GTK+...
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libgtk-x11-2.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libgdk-x11-2.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libpangocairo-1.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libatk-1.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libcairo.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libgdk_pixbuf-2.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libgio-2.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libpangoft2-1.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libpango-1.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libgobject-2.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libharfbuzz.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libfontconfig.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libfreetype.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libgthread-2.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libglib-2.0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libz.so
--   Found openvibe-visualization-toolkit...  /home/openvibe-3.0.0-src/dist/designer-Debug/include
--   Found openvibe-visualization-toolkit...  /home/openvibe-3.0.0-src/dist/designer-Debug/include
--     Found Boost regex...
--     [  OK  ] lib /usr/lib/aarch64-linux-gnu/libboost_regex.so
--   Found liblsl...
--     [FAILED] Third party lib LSL_LIB_REL-NOTFOUND
-- Note: /home/openvibe-3.0.0-src/extras/plugins/processing/matlab has been skipped by setting SKIP_PLUGINS_PROCESSING_MATLAB
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.9
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.9
--   Found fftw3 includes...
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libfftw3.so
--   Found it++...
-- Checking for module 'eigen3'
--   Found eigen3, version 3.3.9
--   Found OpenViBE module TCPTagging...      /home/openvibe-3.0.0-src/extras/modules/tcptagging/include
--   Found openvibe-visualization-toolkit...  /home/openvibe-3.0.0-src/dist/designer-Debug/include
--   Found Lua... in '/usr/include/lua5.1'
--     [  OK  ] lib /usr/lib/aarch64-linux-gnu/liblua5.1.so/usr/lib/aarch64-linux-gnu/libm.so
--   Found ALUT...
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libalut.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libopenal.so
--   Found VORBIS...
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libvorbisfile.so
--   Found boost thread...
--     [  OK  ] lib /usr/lib/aarch64-linux-gnu/libboost_thread.so
--   Found pthread...
--   Found rt...
--   Found openvibe-visualization-toolkit...  /home/openvibe-3.0.0-src/dist/designer-Debug/include
--   Found X11...
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libX11.so
--   Checking for VRPN...
--     Found VRPN...
--     [FAILED] lib vrpnserver
--   Checking for CEGUI ...
--   Found CEGUI/OgreCEGUIRenderer...
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libCEGUIBase-0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libCEGUIOgreRenderer-0.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libOgreMain.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libpthread.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libCEGUIBase-0.so
--     [FAILED] lib vrpnserver
--   Found Ogre3D/OIS...
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libOgreOverlay.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libOIS.so
--   Found pthread...
--     [FAILED] lib vrpnserver
--   Found Ogre3DTerrain/OIS...
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libOgreTerrain.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libOgrePaging.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libOgreMain.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libpthread.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libOIS.so
--   Found pthread...
--     [FAILED] lib vrpnserver
--   Found pthread...
--     [FAILED] lib vrpnserver
--   Found pthread...
--     [FAILED] lib vrpnserver
--     [FAILED] lib vrpnserver
--   Found openvibe-contributions...
--   FAILED to find Emotiv API (optional driver)
--   FAILED to find MindMedia NeXus device dll (optional driver)
--   FAILED to find MCS device SDK (optional driver)
--   FAILED to find Mensia Acquisition driver (optional driver)
--   FAILED to find Micromed device dlls (optional driver)
--   Skipped Enobio3G, its work in progress.
--   Skipped ThinkGear API for Neurosky MindSet, only available on windows.
--   FAILED to find TMSi device dll (optional driver)
--   Found rt...
--   FAILED to find EEGO API (optional driver) - cmake looked in '/home/openvibe-3.0.0-src/dependencies/home/openvibe-3.0.0-src/extras/dependencies', skipping EEGO.
--   FAILED to find gtec gMobiLabPlusAPI... (optional driver)
--    : If it should be found, see that 'gmobilabapi.so' link exists on the fs, with no numeric suffixes in the filename.
--    : e.g. do 'cd /usr/lib/  ln -s libgmobilabplusapi.so.1.12 libgmobilabplusapi.so'
--   FAILED to find gtec gUSBAmpAPI Linux... (optional)
--    : If it should be found, see that 'libgusbampapi.so.1.14' link exists on the fs, with no further nemeric suffixes in the filename.
--    : e.g. do 'cd /usr/lib/  ln -s libgusbampapi.so.1.14'. See gtec-bcilab/README for details.
--   FAILED to find Mitsar device dll (optional driver)
--   Gtec Unicorn device API (optional driver): No Linux support
--   Found OpenGL...
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libGLU.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libGL.so
--     [  OK  ] Third party lib /usr/lib/aarch64-linux-gnu/libz.so
--   Found openvibe-visualization-toolkit...  /home/openvibe-3.0.0-src/dist/designer-Debug/include
-- Static linking libadvviz
--   Found libadvviz...  /home/openvibe-3.0.0-src/dist/designer-Debug/include
--   Found rt...
-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed)
--   FAILED to find Python 3 (needs v3.7 with bitness matching build target x64)
-- Note: /home/openvibe-3.0.0-src/extras/contrib/plugins/processing/python2 has been skipped by setting SKIP_CONTRIB_PLUGINS_PROCESSING_PYTHON2
-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/openvibe-3.0.0-src/build/extras-Debug
CMake has been called successfully !

Building ...

[  1%] Built target openvibe-stimulation-generator
[  1%] Built target openvibe-module-tcptagging
[  1%] Built target openvibe-plugins-acquisition
[  2%] Built target openvibe-plugins-artefact-detection
[  3%] Built target test_accuracy
[  3%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/Featurization.cpp.o
[  4%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/Geodesic.cpp.o
[  5%] Built target openvibe-plugins-classification
[  5%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/Mean.cpp.o
[  6%] Built target openvibe-plugins-data-generation
[  6%] Built target openvibe-plugins-dll-bridge
[  6%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/classifier/CBias.cpp.o
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/Featurization.cpp:1:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Featurization.hpp:67:1: warning: multi-line comment [-Wcomment]
   67 | ///  J &= \log{\left(M_\text{Ref}^{-1/2} ~  M ~  M_\text{Ref}^{-1/2}\right)} \\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Featurization.hpp:69:1: warning: multi-line comment [-Wcomment]
   69 | ///        1 & \sqrt{2} & \cdots & \sqrt{2} \\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Featurization.hpp:74:1: warning: multi-line comment [-Wcomment]
   74 | /// \end{aligned} \\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Featurization.hpp:88:1: warning: multi-line comment [-Wcomment]
   88 | /// \text{With : } M_\text{Ts} &= \operatorname{UnSqueezeUpperTriangle}(V_\text{Ts}) \quad \text{ and } \quad \mathsf{U}_{M}\text{ the upper triangular out.}\\
      | ^
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/Mean.cpp:5:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:50:1: warning: multi-line comment [-Wcomment]
   50 | ///  J &= \frac{1}{N} \sum_i \log\left(C_{\mu_\text{R}}^{-1/2} + C_i ~ C_{\mu_\text{R}}^{-1/2}\right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:55:1: warning: multi-line comment [-Wcomment]
   55 | ///  \text{if } \nu \times \left\lVert J \right\rVert < \tau & \nu = 0.95 \times \nu,~\tau = \nu \times \left\lVert J \right\rVert\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:84:1: warning: multi-line comment [-Wcomment]
   84 | ///  J &= \left(\frac{1}{N} \sum_i \left( 0.5 \times\left(C_{\mu_\text{lD}} + C_i \right)\right)^{-1} \right)^{-1}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:105:1: warning: multi-line comment [-Wcomment]
  105 | ///  J &= C_{\mu_\text{W}}^{1/2}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:121:1: warning: multi-line comment [-Wcomment]
  121 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:127:1: warning: multi-line comment [-Wcomment]
  127 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CBias.cpp:3:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:50:1: warning: multi-line comment [-Wcomment]
   50 | ///  J &= \frac{1}{N} \sum_i \log\left(C_{\mu_\text{R}}^{-1/2} + C_i ~ C_{\mu_\text{R}}^{-1/2}\right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:55:1: warning: multi-line comment [-Wcomment]
   55 | ///  \text{if } \nu \times \left\lVert J \right\rVert < \tau & \nu = 0.95 \times \nu,~\tau = \nu \times \left\lVert J \right\rVert\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:84:1: warning: multi-line comment [-Wcomment]
   84 | ///  J &= \left(\frac{1}{N} \sum_i \left( 0.5 \times\left(C_{\mu_\text{lD}} + C_i \right)\right)^{-1} \right)^{-1}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:105:1: warning: multi-line comment [-Wcomment]
  105 | ///  J &= C_{\mu_\text{W}}^{1/2}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:121:1: warning: multi-line comment [-Wcomment]
  121 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:127:1: warning: multi-line comment [-Wcomment]
  127 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
[  8%] Built target openvibe-plugins-evaluation
[  9%] Built target test_evaluation
[ 11%] Built target openvibe-plugins-examples
[ 12%] Built target openvibe-plugins-features-selection
[ 12%] Building CXX object plugins/processing/file-io/CMakeFiles/openvibe-plugins-file-io.dir/src/box-algorithms/bci2000reader/ovpCBCI2000ReaderHelper.cpp.o
/home/openvibe-3.0.0-src/extras/plugins/processing/file-io/src/box-algorithms/bci2000reader/ovpCBCI2000ReaderHelper.cpp:6:10: fatal error: boost/detail/endian.hpp: No such file or directory
    6 | #include <boost/detail/endian.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [plugins/processing/file-io/CMakeFiles/openvibe-plugins-file-io.dir/build.make:95: plugins/processing/file-io/CMakeFiles/openvibe-plugins-file-io.dir/src/box-algorithms/bci2000reader/ovpCBCI2000ReaderHelper.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2063: plugins/processing/file-io/CMakeFiles/openvibe-plugins-file-io.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 12%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/classifier/CMatrixClassifierFgMDM.cpp.o
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierFgMDMRT.hpp:14,
                 from /home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierFgMDM.hpp:14,
                 from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierFgMDM.cpp:1:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierMDM.hpp:73:2: warning: multi-line comment [-Wcomment]
   73 |  /// p_i = \frac{d_{\text{min}}}{d_i}\\
      |  ^
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierFgMDM.cpp:2:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:50:1: warning: multi-line comment [-Wcomment]
   50 | ///  J &= \frac{1}{N} \sum_i \log\left(C_{\mu_\text{R}}^{-1/2} + C_i ~ C_{\mu_\text{R}}^{-1/2}\right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:55:1: warning: multi-line comment [-Wcomment]
   55 | ///  \text{if } \nu \times \left\lVert J \right\rVert < \tau & \nu = 0.95 \times \nu,~\tau = \nu \times \left\lVert J \right\rVert\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:84:1: warning: multi-line comment [-Wcomment]
   84 | ///  J &= \left(\frac{1}{N} \sum_i \left( 0.5 \times\left(C_{\mu_\text{lD}} + C_i \right)\right)^{-1} \right)^{-1}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:105:1: warning: multi-line comment [-Wcomment]
  105 | ///  J &= C_{\mu_\text{W}}^{1/2}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:121:1: warning: multi-line comment [-Wcomment]
  121 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:127:1: warning: multi-line comment [-Wcomment]
  127 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
[ 12%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/classifier/CMatrixClassifierFgMDMRT.cpp.o
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierFgMDMRT.hpp:14,
                 from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierFgMDMRT.cpp:1:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierMDM.hpp:73:2: warning: multi-line comment [-Wcomment]
   73 |  /// p_i = \frac{d_{\text{min}}}{d_i}\\
      |  ^
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierFgMDMRT.cpp:2:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:50:1: warning: multi-line comment [-Wcomment]
   50 | ///  J &= \frac{1}{N} \sum_i \log\left(C_{\mu_\text{R}}^{-1/2} + C_i ~ C_{\mu_\text{R}}^{-1/2}\right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:55:1: warning: multi-line comment [-Wcomment]
   55 | ///  \text{if } \nu \times \left\lVert J \right\rVert < \tau & \nu = 0.95 \times \nu,~\tau = \nu \times \left\lVert J \right\rVert\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:84:1: warning: multi-line comment [-Wcomment]
   84 | ///  J &= \left(\frac{1}{N} \sum_i \left( 0.5 \times\left(C_{\mu_\text{lD}} + C_i \right)\right)^{-1} \right)^{-1}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:105:1: warning: multi-line comment [-Wcomment]
  105 | ///  J &= C_{\mu_\text{W}}^{1/2}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:121:1: warning: multi-line comment [-Wcomment]
  121 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:127:1: warning: multi-line comment [-Wcomment]
  127 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierFgMDMRT.cpp:4:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Featurization.hpp:67:1: warning: multi-line comment [-Wcomment]
   67 | ///  J &= \log{\left(M_\text{Ref}^{-1/2} ~  M ~  M_\text{Ref}^{-1/2}\right)} \\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Featurization.hpp:69:1: warning: multi-line comment [-Wcomment]
   69 | ///        1 & \sqrt{2} & \cdots & \sqrt{2} \\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Featurization.hpp:74:1: warning: multi-line comment [-Wcomment]
   74 | /// \end{aligned} \\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Featurization.hpp:88:1: warning: multi-line comment [-Wcomment]
   88 | /// \text{With : } M_\text{Ts} &= \operatorname{UnSqueezeUpperTriangle}(V_\text{Ts}) \quad \text{ and } \quad \mathsf{U}_{M}\text{ the upper triangular out.}\\
      | ^
[ 13%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/classifier/CMatrixClassifierFgMDMRTRebias.cpp.o
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierFgMDMRT.hpp:14,
                 from /home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierFgMDMRTRebias.hpp:14,
                 from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierFgMDMRTRebias.cpp:1:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierMDM.hpp:73:2: warning: multi-line comment [-Wcomment]
   73 |  /// p_i = \frac{d_{\text{min}}}{d_i}\\
      |  ^
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierFgMDMRTRebias.cpp:3:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:50:1: warning: multi-line comment [-Wcomment]
   50 | ///  J &= \frac{1}{N} \sum_i \log\left(C_{\mu_\text{R}}^{-1/2} + C_i ~ C_{\mu_\text{R}}^{-1/2}\right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:55:1: warning: multi-line comment [-Wcomment]
   55 | ///  \text{if } \nu \times \left\lVert J \right\rVert < \tau & \nu = 0.95 \times \nu,~\tau = \nu \times \left\lVert J \right\rVert\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:84:1: warning: multi-line comment [-Wcomment]
   84 | ///  J &= \left(\frac{1}{N} \sum_i \left( 0.5 \times\left(C_{\mu_\text{lD}} + C_i \right)\right)^{-1} \right)^{-1}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:105:1: warning: multi-line comment [-Wcomment]
  105 | ///  J &= C_{\mu_\text{W}}^{1/2}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:121:1: warning: multi-line comment [-Wcomment]
  121 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:127:1: warning: multi-line comment [-Wcomment]
  127 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierFgMDMRTRebias.cpp:4:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Covariance.hpp:124:1: warning: multi-line comment [-Wcomment]
  124 | ///   V\left(x_1\right) & \operatorname{Cov}\left(x_1,x_2\right) &\cdots & \operatorname{Cov}\left(x_1,x_N\right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Covariance.hpp:155:1: warning: multi-line comment [-Wcomment]
  155 | ///   \vec{X}^2 &= \begin{pmatrix}x_{0,0}^2 & \cdots & x_{0,S}^2 \\ \vdots & \ddots &\vdots \\ x_{N,0}^2 & \cdots & x_{N,S}^2\end{pmatrix} \quad \text{with } x_{i,j} \in \vec{X}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Covariance.hpp:157:1: warning: multi-line comment [-Wcomment]
  157 | ///              \quad \text{with } \mu = \frac{\operatorname{trace}(M_{\operatorname{Cov}})}{N}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Covariance.hpp:181:1: warning: multi-line comment [-Wcomment]
  181 | ///   \mu &= \frac{\operatorname{trace}(M_{\operatorname{Cov}})}{N}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Covariance.hpp:190:1: warning: multi-line comment [-Wcomment]
  190 | ///           1, & \text{if}\ \text{den} = 0 \text{ or num} > \text{den} \\
      | ^
[ 13%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/classifier/CMatrixClassifierMDM.cpp.o
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierMDM.cpp:1:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierMDM.hpp:73:2: warning: multi-line comment [-Wcomment]
   73 |  /// p_i = \frac{d_{\text{min}}}{d_i}\\
      |  ^
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierMDM.cpp:2:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:50:1: warning: multi-line comment [-Wcomment]
   50 | ///  J &= \frac{1}{N} \sum_i \log\left(C_{\mu_\text{R}}^{-1/2} + C_i ~ C_{\mu_\text{R}}^{-1/2}\right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:55:1: warning: multi-line comment [-Wcomment]
   55 | ///  \text{if } \nu \times \left\lVert J \right\rVert < \tau & \nu = 0.95 \times \nu,~\tau = \nu \times \left\lVert J \right\rVert\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:84:1: warning: multi-line comment [-Wcomment]
   84 | ///  J &= \left(\frac{1}{N} \sum_i \left( 0.5 \times\left(C_{\mu_\text{lD}} + C_i \right)\right)^{-1} \right)^{-1}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:105:1: warning: multi-line comment [-Wcomment]
  105 | ///  J &= C_{\mu_\text{W}}^{1/2}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:121:1: warning: multi-line comment [-Wcomment]
  121 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:127:1: warning: multi-line comment [-Wcomment]
  127 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
[ 13%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/classifier/CMatrixClassifierMDMRebias.cpp.o
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierMDMRebias.hpp:14,
                 from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierMDMRebias.cpp:1:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/classifier/CMatrixClassifierMDM.hpp:73:2: warning: multi-line comment [-Wcomment]
   73 |  /// p_i = \frac{d_{\text{min}}}{d_i}\\
      |  ^
In file included from /home/openvibe-3.0.0-src/extras/modules/geometry/src/classifier/CMatrixClassifierMDMRebias.cpp:2:
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:50:1: warning: multi-line comment [-Wcomment]
   50 | ///  J &= \frac{1}{N} \sum_i \log\left(C_{\mu_\text{R}}^{-1/2} + C_i ~ C_{\mu_\text{R}}^{-1/2}\right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:55:1: warning: multi-line comment [-Wcomment]
   55 | ///  \text{if } \nu \times \left\lVert J \right\rVert < \tau & \nu = 0.95 \times \nu,~\tau = \nu \times \left\lVert J \right\rVert\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:84:1: warning: multi-line comment [-Wcomment]
   84 | ///  J &= \left(\frac{1}{N} \sum_i \left( 0.5 \times\left(C_{\mu_\text{lD}} + C_i \right)\right)^{-1} \right)^{-1}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:105:1: warning: multi-line comment [-Wcomment]
  105 | ///  J &= C_{\mu_\text{W}}^{1/2}\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:121:1: warning: multi-line comment [-Wcomment]
  121 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
/home/openvibe-3.0.0-src/extras/modules/geometry/include/geometry/Mean.hpp:127:1: warning: multi-line comment [-Wcomment]
  127 | ///  J &= \frac{1}{N} \log\left(\sum_i \left( C_{\mu_\text{ALE}}^{\mathsf{T}} C_i C_{\mu_\text{ALE}} \right) \right)\\
      | ^
[ 13%] Building CXX object modules/geometry/CMakeFiles/openvibe-module-geometry.dir/src/classifier/IMatrixClassifier.cpp.o
[ 14%] Linking CXX static library libopenvibe-module-geometry.a
[ 15%] Built target openvibe-module-geometry
make: *** [Makefile:149: all] Error 2
Error while building extras
Cheers,
Thunfisch96

Thomas
Posts: 68
Joined: Wed Mar 04, 2020 3:38 pm

Re: Building openvibe-3.0.0 on Raspberry Pi 4 with Ubuntu 20.04

Post by Thomas »

Hi,

Although I don't speak German, it seems to be saying that boost is installed.

The issue might be in the path where endian.hpp is installed. Can you check if the file is actually on the raspberry, and if yes where. You might need to modify the code including the file to match your install.

Also, I see that there are issues with copying vrpn archive and lsl lib, which might indicate an build issue for these two.
There might be issues due to the newer version of gcc, coming with Ubuntu 21.04.

Let us know how you get on and what you find.

Cheers,
Thomas

thunfisch96
Posts: 7
Joined: Wed May 12, 2021 2:27 pm

Re: Building openvibe-3.0.0 on Raspberry Pi 4 with Ubuntu 20.04

Post by thunfisch96 »

Hi,

I think the problem is, that gcc doesn't find the header files because it doesn't search in the dependencies folder. If i put the absolute path ("/home/openvibe-3.0.0-src/dependencies/arch/LSL/liblsl/external/boost/detail/endian.hpp") in the include section endian.hpp is found but the next header can't be found.
So i need to tell gcc where to search for the files.
Any idea to not copy each absolute path individually to the cpp files?


gcc searches in the following directories:

Code: Select all

echo | gcc -E -Wp,-v -
ignoring nonexistent directory "/usr/local/include/aarch64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/aarch64-linux-gnu/10/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/aarch64-linux-gnu/10/include
 /usr/local/include
 /usr/include/aarch64-linux-gnu
 /usr/include
The only possibility i know to tell gcc where to search for include files is: "gcc -I/any/directory/ *.cpp" but i don't know how to do this in this case because only "build.sh" will be executed

Another possibility could be to copy each folder individually into "/usr/include/"?!

thunfisch96
Posts: 7
Joined: Wed May 12, 2021 2:27 pm

Re: Building openvibe-3.0.0 on Raspberry Pi 4 with Ubuntu 20.04

Post by thunfisch96 »

Update

Copied:
"openvibe-3.0.0-src/dependencies/arch/LSL/liblsl/external/boost"
and
"/home/openvibe-3.0.0-src/dependencies/arch/LSL/liblsl/external/lslboost"

to "/usr/lib/gcc/aarch64-linux-gnu/10/include"
and downloaded the newest version of the boost library and additionally added boost library to "/usr/lib/gcc/aarch64-linux-gnu/10/include/boost"

now "build.sh" throws following error:

Code: Select all

Scanning dependencies of target openvibe-plugins-network-io
[ 18%] Built target openvibe-plugins-evaluation
[ 18%] Building CXX object plugins/processing/games/CMakeFiles/openvibe-plugins-games.dir/src/boxes/CBoxAlgorithmHelloSenderGame.cpp.o
[ 18%] Building CXX object plugins/processing/network-io/CMakeFiles/openvibe-plugins-network-io.dir/src/box-algorithms/ovpCBoxAlgorithmLSLExport.cpp.o
[ 20%] Built target openvibe-plugins-riemannian
[ 20%] Building CXX object plugins/processing/games/CMakeFiles/openvibe-plugins-games.dir/src/boxes/CBoxAlgorithmHelloWorldGame.cpp.o
[ 20%] Building CXX object plugins/processing/network-io/CMakeFiles/openvibe-plugins-network-io.dir/src/ovp_main.cpp.o
[ 20%] Built target test_eigen
[ 26%] Built target openvibe-plugins-signal-processing
[ 27%] Building CXX object plugins/processing/games/CMakeFiles/openvibe-plugins-games.dir/src/main.cpp.o
[ 27%] Building CXX object plugins/processing/games/CMakeFiles/openvibe-plugins-games.dir/src/utils.cpp.o
[ 28%] Built target test_thresholdDataComparison
[ 32%] Built target openvibe-plugins-simple-visualization
[ 35%] Built target openvibe-plugins-stimulation
[ 35%] Built target openvibe-plugins-streaming
[ 36%] Built target openvibe-plugins-tests
[ 38%] Built target openvibe-plugins-tools
[ 39%] Built target openvibe-plugins-vrpn
[ 39%] Linking CXX executable openvibe-ssvep-demo
[ 39%] Linking CXX executable openvibe-ssvep-mind-shooter
/usr/bin/ld: warning: libboost_thread.so.1.71.0, needed by /usr/lib/aarch64-linux-gnu/libOgreMain.so, may conflict with libboost_thread.so.1.74.0
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepCApplication.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP12CApplicationD2Ev':
ovassvepCApplication.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCApplication.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCApplication.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepCBasicPainter.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP13CBasicPainterC2EPNS_12CApplicationE':
ovassvepCBasicPainter.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCBasicPainter.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCBasicPainter.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepICommandOIS.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP11ICommandOIS14m_inputManagerE':
ovassvepICommandOIS.cpp:(.text.startup+0x40): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepICommandOIS.cpp:(.text.startup+0x44): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepICommandOIS.cpp:(.text.startup+0x48): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepICommandVRPNButton.cpp.o: in function `SSVEP::ICommandVRPNButton::ICommandVRPNButton(SSVEP::CApplication*, OpenViBE::CString const&)':
ovassvepICommandVRPNButton.cpp:(.text+0x31c): undefined reference to `vrpn_Button_Remote::vrpn_Button_Remote(char const*, vrpn_Connection*)'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepICommandVRPNButton.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP18ICommandVRPNButtonC2EPNS_12CApplicationERKN8OpenViBE7CStringE':
ovassvepICommandVRPNButton.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepICommandVRPNButton.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepICommandVRPNButton.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvep_main.cpp.o: in function `_GLOBAL__sub_I_main':
ovassvep_main.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvep_main.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvep_main.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/Shooter/ovassvepCCommandShipControl.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP19CCommandShipControlC2EPNS_19CShooterApplicationE':
ovassvepCCommandShipControl.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCCommandShipControl.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCCommandShipControl.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/Shooter/ovassvepCCommandTargetControl.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP21CCommandTargetControlC2EPNS_19CShooterApplicationE':
ovassvepCCommandTargetControl.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCCommandTargetControl.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCCommandTargetControl.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/Shooter/ovassvepCShooterApplication.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP19CShooterApplicationC2Ev':
ovassvepCShooterApplication.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCShooterApplication.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCShooterApplication.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/Shooter/ovassvepCShooterTarget.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP14CShooterTarget12m_parentNodeE':
ovassvepCShooterTarget.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCShooterTarget.cpp:(.text.startup+0x3c): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCShooterTarget.cpp:(.text.startup+0x48): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/Shooter/ovassvepCStarShip.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP9CStarShipC2EPNS_12CApplicationEPN4Ogre9SceneNodeEfPSt6vectorISt4pairImmESaIS8_EE':
ovassvepCStarShip.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCStarShip.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCStarShip.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/Trainer/ovassvepCCommandReceiveTarget.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP21CCommandReceiveTargetC2EPNS_12CApplicationE':
ovassvepCCommandReceiveTarget.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCCommandReceiveTarget.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCCommandReceiveTarget.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/Trainer/ovassvepCTrainerApplication.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP19CTrainerApplicationC2Ev':
ovassvepCTrainerApplication.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCTrainerApplication.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCTrainerApplication.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/Trainer/ovassvepCTrainerFlickeringObject.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP24CTrainerFlickeringObject12m_parentNodeE':
ovassvepCTrainerFlickeringObject.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCTrainerFlickeringObject.cpp:(.text.startup+0x3c): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCTrainerFlickeringObject.cpp:(.text.startup+0x40): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepCCommandStartStop.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP17CCommandStartStopC2EPNS_12CApplicationE':
ovassvepCCommandStartStop.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCCommandStartStop.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCCommandStartStop.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepCCommandStimulatorControl.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP25CCommandStimulatorControlC2EPNS_12CApplicationE':
ovassvepCCommandStimulatorControl.cpp:(.text.startup+0x34)/usr/bin/ld: warning: : undefined reference to `boost::system::generic_category()libboost_thread.so.1.71.0, needed by /usr/lib/aarch64-linux-gnu/libOgreMain.so, may conflict with '
/usr/bin/ldlibboost_thread.so.1.74.0
: ovassvepCCommandStimulatorControl.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCCommandStimulatorControl.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepCSSVEPFlickeringObject.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP22CSSVEPFlickeringObjectC2EPN4Ogre9SceneNodeEmm':
ovassvepCSSVEPFlickeringObject.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCSSVEPFlickeringObject.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCSSVEPFlickeringObject.cpp:(.text.startup+0x44): undefined reference to `boost::system::system_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepCVRPNServer.cpp.o: in function `SSVEP::CVRPNServer::changeButtonState(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int)':
ovassvepCVRPNServer.cpp:(.text+0x954): undefined reference to `vrpn_Button_Server::set_button(int, int)'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepCVRPNServer.cpp.o: in function `SSVEP::CVRPNServer::addButton(OpenViBE::CString const&, int)':
ovassvepCVRPNServer.cpp:(.text+0x1050): undefined reference to `vrpn_Button_Server::vrpn_Button_Server(char const*, vrpn_Connection*, int)'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepCVRPNServer.cpp.o: in function `vrpn_create_server_connection(int, char const*, char const*, char const*)':
ovassvepCVRPNServer.cpp:(.text._Z29vrpn_create_server_connectioniPKcS0_S0_[_Z29vrpn_create_server_connectioniPKcS0_S0_]+0x60): undefined reference to `vrpn_create_server_connection(char const*, char const*, char const*)'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-demo.dir/src/ovassvepCVRPNServer.cpp.o: in function `_GLOBAL__sub_I__ZN5SSVEP11CVRPNServer20m_vrpnServerInstanceE':
ovassvepCVRPNServer.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCVRPNServer.cpp:(.text.startup+0x3c): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovassvepCVRPNServer.cpp:(.text.startup+0x48): undefined reference to `boost::system::system_category()'
collect2: error: ld returned 1 exit status
make[2]: *** [applications/demos/ssvep-demo/CMakeFiles/openvibe-ssvep-demo.dir/build.make:397: applications/demos/ssvep-demo/openvibe-ssvep-demo] Error 1
make[1]: *** [CMakeFiles/Makefile2:2414: applications/demos/ssvep-demo/CMakeFiles/openvibe-ssvep-demo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 39%] Linking CXX shared library libopenvibe-plugins-games.so
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/Impact/ovamsCCommandControlAnalog.cpp.o: in function `_GLOBAL__sub_I__ZN16SSVEPMindShooter21CCommandControlAnalogC2EPNS_18CImpactApplicationEb':
ovamsCCommandControlAnalog.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovamsCCommandControlAnalog.cpp:(.text.startup+0x3c): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/Impact/ovamsCImpactApplication.cpp.o: in function `_GLOBAL__sub_I__ZN16SSVEPMindShooter18CImpactApplicationC2ERKN8OpenViBE7CStringES4_':
ovamsCImpactApplication.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovamsCImpactApplication.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/Impact/ovamsCImpactShip.cpp.o: in function `_GLOBAL__sub_I__ZN16SSVEPMindShooter11CImpactShipC2EPNS_18CImpactApplicationEPN4Ogre9SceneNodeEPSt6vectorImSaImEE':
ovamsCImpactShip.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/Impact/ovamsCImpactShip.cpp.o:ovamsCImpactShip.cpp:(.text.startup+0x38): more undefined references to `boost::system::generic_category()' follow
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/ovamsICommandVRPNAnalog.cpp.o: in function `SSVEPMindShooter::ICommandVRPNAnalog::ICommandVRPNAnalog(SSVEPMindShooter::CApplication*, OpenViBE::CString const&)':
ovamsICommandVRPNAnalog.cpp:(.text+0x3d4): undefined reference to `vrpn_Analog_Remote::vrpn_Analog_Remote(char const*, vrpn_Connection*)'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/ovamsICommandVRPNAnalog.cpp.o: in function `_GLOBAL__sub_I__ZN16SSVEPMindShooter18ICommandVRPNAnalogC2EPNS_12CApplicationERKN8OpenViBE7CStringE':
ovamsICommandVRPNAnalog.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovamsICommandVRPNAnalog.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/ovamsICommandVRPNButton.cpp.o: in function `SSVEPMindShooter::ICommandVRPNButton::ICommandVRPNButton(SSVEPMindShooter::CApplication*, OpenViBE::CString const&)':
ovamsICommandVRPNButton.cpp:(.text+0x31c): undefined reference to `vrpn_Button_Remote::vrpn_Button_Remote(char const*, vrpn_Connection*)'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/ovamsICommandVRPNButton.cpp.o: in function `_GLOBAL__sub_I__ZN16SSVEPMindShooter18ICommandVRPNButtonC2EPNS_12CApplicationERKN8OpenViBE7CStringE':
ovamsICommandVRPNButton.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovamsICommandVRPNButton.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/ovams_main.cpp.o: in function `_GLOBAL__sub_I_main':
ovams_main.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovams_main.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/GenericStimulator/ovamsCGenericStimulatorApplication.cpp.o: in function `_GLOBAL__sub_I__ZN16SSVEPMindShooter29CGenericStimulatorApplication5setupEPN8OpenViBE6Kernel14IKernelContextE':
ovamsCGenericStimulatorApplication.cpp:(.text.startup+0x34): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/GenericStimulator/ovamsCGenericStimulatorApplication.cpp.o:ovamsCGenericStimulatorApplication.cpp:(.text.startup+0x38): more undefined references to `boost::system::generic_category()' follow
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/ovamsCVRPNServer.cpp.o: in function `SSVEPMindShooter::CVRPNServer::changeButtonState(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int)':
ovamsCVRPNServer.cpp:(.text+0xbe4): undefined reference to `vrpn_Button_Server::set_button(int, int)'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/ovamsCVRPNServer.cpp.o: in function `SSVEPMindShooter::CVRPNServer::addButton(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
ovamsCVRPNServer.cpp:(.text+0x1038): undefined reference to `vrpn_Button_Server::vrpn_Button_Server(char const*, vrpn_Connection*, int)'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/ovamsCVRPNServer.cpp.o: in function `vrpn_create_server_connection(int, char const*, char const*, char const*)':
ovamsCVRPNServer.cpp:(.text._Z29vrpn_create_server_connectioniPKcS0_S0_[_Z29vrpn_create_server_connectioniPKcS0_S0_]+0x60): undefined reference to `vrpn_create_server_connection(char const*, char const*, char const*)'
/usr/bin/ld: CMakeFiles/openvibe-ssvep-mind-shooter.dir/src/ovamsCVRPNServer.cpp.o: in function `_GLOBAL__sub_I__ZN16SSVEPMindShooter11CVRPNServer20m_vrpnServerInstanceE':
ovamsCVRPNServer.cpp:(.text.startup+0x38): undefined reference to `boost::system::generic_category()'
/usr/bin/ld: ovamsCVRPNServer.cpp:(.text.startup+0x3c): undefined reference to `boost::system::generic_category()'
collect2: error: ld returned 1 exit status
make[2]: *** [applications/demos/ssvep-mind-shooter/CMakeFiles/openvibe-ssvep-mind-shooter.dir/build.make:495: applications/demos/ssvep-mind-shooter/openvibe-ssvep-mind-shooter] Error 1
make[1]: *** [CMakeFiles/Makefile2:2441: applications/demos/ssvep-mind-shooter/CMakeFiles/openvibe-ssvep-mind-shooter.dir/all] Error 2
[ 39%] Built target openvibe-plugins-games
[ 39%] Linking CXX shared library libopenvibe-plugins-network-io.so
[ 40%] Built target openvibe-plugins-network-io
make: *** [Makefile:149: all] Error 2
Error while building extras
Any ideas how to solve this problem? :)

Thanks for your help!

Thomas
Posts: 68
Joined: Wed Mar 04, 2020 3:38 pm

Re: Building openvibe-3.0.0 on Raspberry Pi 4 with Ubuntu 20.04

Post by Thomas »

Hi,

Well that's a nice try, but this is a bit of a hack.

I don't have a ubuntu 21.04 at hand, but what I would do is look at where libboost-dev was installed, as it was indeed installed with the install_dependencies script, and try to understand why it is not being found when compiling.

As for lsl and vrpn, I would suggest looking at each to understand why they didn't build when running install_dependencies script.

Sorry for not being able to help more right now. Let us know how you get on.

Another option of course would be to downgrade to ubuntu 18.04, currently supported by OpenViBE.

Cheers,
Thomas

Post Reply