Hello guys, I trying to install opencv 3.3.0 in Ubuntu 16.04 using CMAKE, because I need the xfeatures2d.hpp library But I have an error something like this, I think this is because the xfeatures2d is ON :
[ 97%] Built target opencv_perf_ximgproc Makefile:160: recipe for target 'all' failed make: * [all] Error 2
This is make cmake line : cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_PYTHON_EXAMPLES=ON -D INSTALL_C_EXAMPLES=OFF -D WITH_CUDA=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D OPENCV_EXTRA_MODULES_PATH=~/Documents/opencv_contrib-3.3.0/modules -D BUILD_EXAMPLES=OFF -D BUILD_opencv_xfeatures2d=ON -D WITH_VTK=ON ..
My specifications is Ubuntu 16.04 and opencv 3.3
Is there anyone has experience solve this problem?? Thank you