Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation error #277

Open
darcosion opened this issue Oct 25, 2017 · 0 comments
Open

compilation error #277

darcosion opened this issue Oct 25, 2017 · 0 comments

Comments

@darcosion
Copy link

darcosion commented Oct 25, 2017

Hello i've tried to compile emokit in an Ubuntu 16.04 and i have this error :

build$ cmake ..
-- Link with: libedk.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/emotiv/build
build$ make
[  5%] Built target AverageBandPowers
[ 11%] Built target EmostateLogger
[ 22%] Built target FacialExpression
[ 25%] Building CXX object examples_basic/C++/GyroData/CMakeFiles/Gyro.dir/main.cpp.o
In file included from /usr/include/c++/5/thread:35:0,
                 from /home/user/emotiv/examples_basic/C++/GyroData/main.cpp:45:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
/home/user/emotiv/examples_basic/C++/GyroData/main.cpp:50:12: error: ‘std::unique_ptr’ has not been declared
 using std::unique_ptr;
            ^
/home/user/emotiv/examples_basic/C++/GyroData/main.cpp:91:1: error: ‘unique_ptr’ does not name a type
 unique_ptr<void, void(*)(DataHandle)> hMotionData(IEE_MotionDataCreate(), &IEE_
 ^
/home/user/emotiv/examples_basic/C++/GyroData/main.cpp: In function ‘void showGyro(bool)’:
/home/user/emotiv/examples_basic/C++/GyroData/main.cpp:95:35: error: ‘hMotionData’ was not declared in this scope
     IEE_MotionDataUpdateHandle(0, hMotionData.get());
                                   ^
examples_basic/C++/GyroData/CMakeFiles/Gyro.dir/build.make:62 : la recette pour la cible « examples_basic/C++/GyroData/CMakeFiles/Gyro.dir/main.cpp.o » a échouée
make[2]: *** [examples_basic/C++/GyroData/CMakeFiles/Gyro.dir/main.cpp.o] Erreur 1
CMakeFiles/Makefile2:250 : la recette pour la cible « examples_basic/C++/GyroData/CMakeFiles/Gyro.dir/all » a échouée
make[1]: *** [examples_basic/C++/GyroData/CMakeFiles/Gyro.dir/all] Erreur 2
Makefile:83 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant