OpenViBE forum

The OpenViBE community
It is currently Wed Apr 24, 2019 6:08 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Feb 06, 2018 2:17 pm 
Offline

Joined: Mon Feb 05, 2018 11:32 pm
Posts: 11
Hi,
I'm trying to build OpenViBE in my raspberry pi, but after install dependencies successfully this error results.
Hope someone can help me.

Thanks!

SO: Ubuntu 16.04
Hardware: Raspberry pi3

Code:
juan@juan-desktop:~/OpenBCI/openvibe-2.0.1-src$ sudo ./build.sh
Building sdk
**************************************
Build with parameters:
[build-type] = Release
[build-dir] = /home/juan/OpenBCI/openvibe-2.0.1-src/build/sdk-Release
[dependencies-dir token] = -DOV_CUSTOM_DEPENDENCIES_PATH=/home/juan/OpenBCI/openvibe-2.0.1-src/dependencies
[install-dir] = /home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release
[test data directory token] = -DOVT_TEST_DATA_DIR=/home/juan/OpenBCI/openvibe-2.0.1-src/dependencies/test-input
[test output files directory] = /home/juan/OpenBCI/openvibe-2.0.1-src/build/sdk-Release/validation-test-output/
[build unit] = 1
[build validation] = 1
[brand name] = OpenViBE
[user data subdirectory] = -DOV_CONFIG_SUBDIR=openvibe-2.0
[display-error-location] = ON
**************************************


Generating build system files with cmake...
-- Could NOT find Git (missing:  GIT_EXECUTABLE)
CMake Warning at cmake-modules/Utilities.cmake:15 (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-2.0";OV_PROJECT_NAME="OpenVIBE";OV_VERSION_MAJOR="0";OV_VERSION_MINOR="0";OV_VERSION_PATCH="0";OV_CMAKE_PATH_ROOT="/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release";OV_CMAKE_PATH_BIN="/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/bin";OV_CMAKE_PATH_LIB="/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/lib";OV_CMAKE_PATH_DATA="/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/share/openvibe"'
--   CMAKE_CXX_FLAGS = ' -fopenmp -Wall -msse2'
--   CMAKE_CXX_FLAGS_RELEASE = '-O3 -DNDEBUG'
--   CMAKE_CXX_FLAGS_DEBUG = '-g'
--   Found boost includes...
--   Found openvibe-common...
--   Found dl...
--   Found pthread...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found OpenViBE module System...
--   Found OpenViBE module XML...
--   Found boost includes...
--   Found dl...
--   Found pthread...
-- CUSTOM DOCUMENTATION ENABLED FOR ebml
--   Found openvibe-common...
--   Found OpenViBE module FS... openvibe-module-fs-static
--   Found boost includes...
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   Found pthread...
--   Found openvibe-common...
--   Found boost includes...
--   Found expat...
--   Found openvibe-common...
-- Project ebml has custom documentation
--   Found openvibe-common...
--   Found openvibe-common...
--   Found openvibe-common...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found boost includes...
--   Found expat...
--   Found openvibe-common...
--   Found boost includes...
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   Found pthread...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE module EBML...
--   Found OpenViBE module XML...
--   Found OpenViBE module System...
--   Found OpenViBE module FS... openvibe-module-fs
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   Found pthread...
-- Documentation files found in /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/plugins/processing/streaming/doc
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module System...
-- Documentation files found in /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/plugins/processing/data-generation/doc
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module EBML...
--   Found OpenViBE module System...
--   Found OpenViBE module XML...
-- Documentation files found in /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/plugins/processing/signal-processing/doc
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module EBML...
--   Found OpenViBE module System...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found boost includes...
-- Found eigen3... [/usr/local/include/eigen3]
-- Documentation files found in /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/plugins/processing/file-io/doc
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module CSV...
--   Link openvibe-module-csv
--   Found OpenViBE module EBML...
--   Found OpenViBE module System...
--   Found OpenViBE module XML...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found boost includes...
--   Found xerces...
-- Documentation files found in /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/plugins/processing/classification/doc
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module EBML...
--   Found OpenViBE module System...
--   Found OpenViBE module XML...
--   Found OpenViBE module FS... openvibe-module-fs
-- Found eigen3... [/usr/local/include/eigen3]
-- Documentation files found in /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/plugins/processing/feature-extraction/doc
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module EBML...
--   Found OpenViBE module System...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module EBML...
--   Found OpenViBE module System...
-- Documentation files found in /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/plugins/processing/tools/doc
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module EBML...
--   Found OpenViBE module System...
--   Found OpenViBE module FS... openvibe-module-fs
-- Documentation files found in /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/plugins/processing/stimulation/doc
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module EBML...
--   Found OpenViBE module System...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found boost includes...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module System...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found boost includes...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found OpenViBE module CSV...
--   Link openvibe-module-csv
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found boost includes...
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   Found pthread...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE module EBML...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE module XML...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found boost includes...
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   Found pthread...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE module XML...
--   Found OpenViBE module FS... openvibe-module-fs
--   Found boost includes...
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   Found pthread...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE module Socket... /openvibe-module-socket
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE module System...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
--   Found openvibe-toolkit...  /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/toolkit/include
--   Found OpenViBE module XML...
--   Found OpenViBE module System...
--   Found OpenViBE... [/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/openvibe]
--   Found openvibe-common...
-- Found Python3 at /usr/bin/python3
-- Configuring done
-- Generating done
-- Build files have been written to: /home/juan/OpenBCI/openvibe-2.0.1-src/build/sdk-Release
Generation succeeded!
Building project...
[6/339] Building CXX object build-tool...n-generator.dir/src/ovbt_sg_main.cpp.o
FAILED: /usr/bin/c++   -DBRAND_NAME=\"OpenViBE\" -DOV_CMAKE_PATH_BIN=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/bin\" -DOV_CMAKE_PATH_DATA=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/share/openvibe\" -DOV_CMAKE_PATH_LIB=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/lib\" -DOV_CMAKE_PATH_ROOT=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release\" -DOV_CONFIG_SUBDIR=\"openvibe-2.0\" -DOV_DISPLAY_ERROR_LOCATION -DOV_PROJECT_NAME=\"OpenVIBE\" -DOV_VERSION_MAJOR=\"0\" -DOV_VERSION_MINOR=\"0\" -DOV_VERSION_PATCH=\"0\" -DTARGET_ARCHITECTURE_i386 -DTARGET_BUILDTYPE_Release -DTARGET_COMPILER_GCC -DTARGET_OS_Linux  -fopenmp -Wall -msse2 -O3 -DNDEBUG   -fnon-call-exceptions -std=gnu++11 -MMD -MT build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_main.cpp.o -MF build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_main.cpp.o.d -o build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_main.cpp.o -c /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/build-tool/stimulation-generator/src/ovbt_sg_main.cpp
c++: error: unrecognized command line option ‘-msse2’
[6/339] Building CXX object build-tool...r/src/ovbt_sg_cpp_code_generator.cpp.o
FAILED: /usr/bin/c++   -DBRAND_NAME=\"OpenViBE\" -DOV_CMAKE_PATH_BIN=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/bin\" -DOV_CMAKE_PATH_DATA=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/share/openvibe\" -DOV_CMAKE_PATH_LIB=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/lib\" -DOV_CMAKE_PATH_ROOT=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release\" -DOV_CONFIG_SUBDIR=\"openvibe-2.0\" -DOV_DISPLAY_ERROR_LOCATION -DOV_PROJECT_NAME=\"OpenVIBE\" -DOV_VERSION_MAJOR=\"0\" -DOV_VERSION_MINOR=\"0\" -DOV_VERSION_PATCH=\"0\" -DTARGET_ARCHITECTURE_i386 -DTARGET_BUILDTYPE_Release -DTARGET_COMPILER_GCC -DTARGET_OS_Linux  -fopenmp -Wall -msse2 -O3 -DNDEBUG   -fnon-call-exceptions -std=gnu++11 -MMD -MT build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_cpp_code_generator.cpp.o -MF build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_cpp_code_generator.cpp.o.d -o build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_cpp_code_generator.cpp.o -c /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/build-tool/stimulation-generator/src/ovbt_sg_cpp_code_generator.cpp
c++: error: unrecognized command line option ‘-msse2’
[6/339] Building CXX object common/CMa...les/openvibe-common.dir/src/main.cpp.o
FAILED: /usr/bin/c++   -DBRAND_NAME=\"OpenViBE\" -DOV_CMAKE_PATH_BIN=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/bin\" -DOV_CMAKE_PATH_DATA=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/share/openvibe\" -DOV_CMAKE_PATH_LIB=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/lib\" -DOV_CMAKE_PATH_ROOT=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release\" -DOV_CONFIG_SUBDIR=\"openvibe-2.0\" -DOV_DISPLAY_ERROR_LOCATION -DOV_PROJECT_NAME=\"OpenVIBE\" -DOV_VERSION_MAJOR=\"0\" -DOV_VERSION_MINOR=\"0\" -DOV_VERSION_PATCH=\"0\" -DTARGET_ARCHITECTURE_i386 -DTARGET_BUILDTYPE_Release -DTARGET_COMPILER_GCC -DTARGET_HAS_Boost -DTARGET_OS_Linux -I/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/common/include -fopenmp -Wall -msse2 -O3 -DNDEBUG   -fnon-call-exceptions -std=gnu++11 -MMD -MT common/CMakeFiles/openvibe-common.dir/src/main.cpp.o -MF common/CMakeFiles/openvibe-common.dir/src/main.cpp.o.d -o common/CMakeFiles/openvibe-common.dir/src/main.cpp.o -c /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/common/src/main.cpp
c++: error: unrecognized command line option ‘-msse2’
[6/339] Building CXX object build-tool...src/ovbt_sg_cpp_define_generator.cpp.o
FAILED: /usr/bin/c++   -DBRAND_NAME=\"OpenViBE\" -DOV_CMAKE_PATH_BIN=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/bin\" -DOV_CMAKE_PATH_DATA=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/share/openvibe\" -DOV_CMAKE_PATH_LIB=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/lib\" -DOV_CMAKE_PATH_ROOT=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release\" -DOV_CONFIG_SUBDIR=\"openvibe-2.0\" -DOV_DISPLAY_ERROR_LOCATION -DOV_PROJECT_NAME=\"OpenVIBE\" -DOV_VERSION_MAJOR=\"0\" -DOV_VERSION_MINOR=\"0\" -DOV_VERSION_PATCH=\"0\" -DTARGET_ARCHITECTURE_i386 -DTARGET_BUILDTYPE_Release -DTARGET_COMPILER_GCC -DTARGET_OS_Linux  -fopenmp -Wall -msse2 -O3 -DNDEBUG   -fnon-call-exceptions -std=gnu++11 -MMD -MT build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_cpp_define_generator.cpp.o -MF build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_cpp_define_generator.cpp.o.d -o build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_cpp_define_generator.cpp.o -c /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/build-tool/stimulation-generator/src/ovbt_sg_cpp_define_generator.cpp
c++: error: unrecognized command line option ‘-msse2’
[6/339] Building CXX object build-tool...dir/src/ovbt_sg_matlab_generator.cpp.o
FAILED: /usr/bin/c++   -DBRAND_NAME=\"OpenViBE\" -DOV_CMAKE_PATH_BIN=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/bin\" -DOV_CMAKE_PATH_DATA=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/share/openvibe\" -DOV_CMAKE_PATH_LIB=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/lib\" -DOV_CMAKE_PATH_ROOT=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release\" -DOV_CONFIG_SUBDIR=\"openvibe-2.0\" -DOV_DISPLAY_ERROR_LOCATION -DOV_PROJECT_NAME=\"OpenVIBE\" -DOV_VERSION_MAJOR=\"0\" -DOV_VERSION_MINOR=\"0\" -DOV_VERSION_PATCH=\"0\" -DTARGET_ARCHITECTURE_i386 -DTARGET_BUILDTYPE_Release -DTARGET_COMPILER_GCC -DTARGET_OS_Linux  -fopenmp -Wall -msse2 -O3 -DNDEBUG   -fnon-call-exceptions -std=gnu++11 -MMD -MT build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_matlab_generator.cpp.o -MF build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_matlab_generator.cpp.o.d -o build-tool/stimulation-generator/CMakeFiles/openvibe-stimulation-generator.dir/src/ovbt_sg_matlab_generator.cpp.o -c /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/build-tool/stimulation-generator/src/ovbt_sg_matlab_generator.cpp
c++: error: unrecognized command line option ‘-msse2’
[6/339] Building CXX object modules/cs...module-csv-static.dir/src/ovICSV.cpp.o
FAILED: /usr/bin/c++   -DBRAND_NAME=\"OpenViBE\" -DFS_Static -DOV_CMAKE_PATH_BIN=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/bin\" -DOV_CMAKE_PATH_DATA=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/share/openvibe\" -DOV_CMAKE_PATH_LIB=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release/lib\" -DOV_CMAKE_PATH_ROOT=\"/home/juan/OpenBCI/openvibe-2.0.1-src/dist/sdk-Release\" -DOV_CONFIG_SUBDIR=\"openvibe-2.0\" -DOV_DISPLAY_ERROR_LOCATION -DOV_PROJECT_NAME=\"OpenVIBE\" -DOV_VERSION_MAJOR=\"0\" -DOV_VERSION_MINOR=\"0\" -DOV_VERSION_PATCH=\"0\" -DTARGET_ARCHITECTURE_i386 -DTARGET_BUILDTYPE_Release -DTARGET_COMPILER_GCC -DTARGET_HAS_Boost -DTARGET_HAS_FS -DTARGET_HAS_OpenViBE_Common -DTARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines -DTARGET_OS_Linux -I/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/modules/csv/include/csv -I/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/common/include -I/home/juan/OpenBCI/openvibe-2.0.1-src/sdk/modules/fs/include -fopenmp -Wall -msse2 -O3 -DNDEBUG   -fnon-call-exceptions -fPIC -std=gnu++11 -MMD -MT modules/csv/CMakeFiles/openvibe-module-csv-static.dir/src/ovICSV.cpp.o -MF modules/csv/CMakeFiles/openvibe-module-csv-static.dir/src/ovICSV.cpp.o.d -o modules/csv/CMakeFiles/openvibe-module-csv-static.dir/src/ovICSV.cpp.o -c /home/juan/OpenBCI/openvibe-2.0.1-src/sdk/modules/csv/src/ovICSV.cpp
c++: error: unrecognized command line option ‘-msse2’
ninja: build stopped: subcommand failed.
ERROR: Build failed
Error while building sdk


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 06, 2018 4:53 pm 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 778
Location: INRIA Rennes, FRANCE
Hi, based on the log you posted, you should investigate the CMakeLists.txt files for lines like

Code:
   # Switch -msse2 enables vectorization. Remove if your CPU/compiler doesn't support it.
   SET(OV_EIGEN_FLAGS "-msse2")


and remove the flag that your compiler does not support.

Note that Raspberry Pi is not an official supported platform so you might have other issues later.

Good luck!


Best,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 07, 2018 2:23 pm 
Offline

Joined: Mon Feb 05, 2018 11:32 pm
Posts: 11
Thanks!!
Your idea work at the moment, but now build never complete. My raspberry freeze randomly in building process.
I know from guys they run openvibe 1.2.2 in raspberry but doesn't work for me.

If somebody run openvibe successfully in raspberry will be amazing a few tips.!

Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 19, 2018 9:18 pm 
Offline

Joined: Mon Feb 05, 2018 11:32 pm
Posts: 11
I had success in prevent freezing my pi3 limiting the number of "jobs" in building process, temperature is okey and building appears doing fine until this error at 22%.
Can someone suggest a solution for this?

Cheers.

Code:
[ 22%] Building CXX object toolkit/CMakeFiles/openvibe-toolkit.dir/src/tools/ovtkMatrix.cpp.o
/home/pi/OpenViBE/openvibe-1.2.2-src/toolkit/src/tools/ovtkMatrix.cpp: In function ‘OpenViBE::boolean OpenViBEToolkit::Tools::Matrix::isContentValid(const OpenViBE::IMatrix&, OpenViBE::boolean, OpenViBE::boolean)’:
/home/pi/OpenViBE/openvibe-1.2.2-src/toolkit/src/tools/ovtkMatrix.cpp:162:42: error: ‘isnan’ was not declared in this scope
   if(bCheckNotANumber && isnan(*l_pBuffer)) return false;
                                          ^
/home/pi/OpenViBE/openvibe-1.2.2-src/toolkit/src/tools/ovtkMatrix.cpp:162:42: note: suggested alternative:
In file included from /home/pi/OpenViBE/openvibe-1.2.2-src/toolkit/src/tools/ovtkMatrix.cpp:6:0:
/usr/include/c++/6/cmath:662:5: note:   ‘std::isnan’
     isnan(_Tp __x)
     ^~~~~
/home/pi/OpenViBE/openvibe-1.2.2-src/toolkit/src/tools/ovtkMatrix.cpp:163:40: error: ‘isinf’ was not declared in this scope
   if(bCheckInfinity && isinf(*l_pBuffer)) return false;
                                        ^
/home/pi/OpenViBE/openvibe-1.2.2-src/toolkit/src/tools/ovtkMatrix.cpp:163:40: note: suggested alternative:
In file included from /home/pi/OpenViBE/openvibe-1.2.2-src/toolkit/src/tools/ovtkMatrix.cpp:6:0:
/usr/include/c++/6/cmath:635:5: note:   ‘std::isinf’
     isinf(_Tp __x)
     ^~~~~
toolkit/CMakeFiles/openvibe-toolkit.dir/build.make:262: recipe for target 'toolkit/CMakeFiles/openvibe-toolkit.dir/src/tools/ovtkMatrix.cpp.o' failed
make[2]: *** [toolkit/CMakeFiles/openvibe-toolkit.dir/src/tools/ovtkMatrix.cpp.o] Error 1
CMakeFiles/Makefile2:980: recipe for target 'toolkit/CMakeFiles/openvibe-toolkit.dir/all' failed
make[1]: *** [toolkit/CMakeFiles/openvibe-toolkit.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maël Soucaze.