Error build opencv xfeatures2d

asked 2018-12-17 07:11:43 -0500

blessme29 gravatar image

updated 2018-12-17 07:25:54 -0500

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

edit retag flag offensive close merge delete

Comments

"I trying to install opencv 3.3.0" please use latest version opencv 3.4.1 or 4.0 with opencv_contrib synchronize

LBerger gravatar imageLBerger ( 2018-12-17 07:25:16 -0500 )edit

blessme29. Are you using raspberry pi?

supra56 gravatar imagesupra56 ( 2018-12-17 09:24:14 -0500 )edit