Closed jakeck1 closed 3 years ago
/usr/bin/c++ -I/usr/include/opencv -I../../../lib/cpp/include -I../../../lib/cpp/src -O3 -DNDEBUG -MD -MT lib/cpp/CMakeFiles/eyerec.dir/src/pupil/tracking/PupilTrackingMethod.cpp.o -MF lib/cpp/CMakeFiles/eyerec.dir/src/pupil/tracking/PupilTrackingMethod.cpp.o.d -o lib/cpp/CMakeFiles/eyerec.dir/src/pupil/tracking/PupilTrackingMethod.cpp.o -c ../../../lib/cpp/src/pupil/tracking/PupilTrackingMethod.cpp
In file included from ../../../lib/cpp/src/pupil/tracking/PupilTrackingMethod.cpp:1:0: ../../../lib/cpp/include/eyerec/PupilTrackingMethod.hpp:9:28: fatal error: opencv2/core.hpp: No such file or #directory
Looks like an issue with your OpenCV installation. CMake is assuming its headers are installed at /usr/include/opencv, but the they are not found. Is that the correct path? If yes, which version are you using? 3.2.0 and above should be fine.
/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.
It looks like you will need to set CMAKE_CXX_STANDARD to 11 or above as well.
Indeed, changing the path to a newer version of OpenCV and setting CMAKE_CXX_STANDARD solved the problem. Thank you!
System information Linux Ubuntu 16.04.7 Python Version 3.8.6 (using pyenv) , (also did not work on 3.5)
Problem When installing via
I get the error message below. Do you have any idea what might be the problem here?