error when build opencv3.1 with contrib
I build the opencv3.1 in linux, and this is my command:
cmake -DCMAKE_INSTALL_PREFIX=$HOME/local
-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules
-DWITH_CUDA=OFF -D BUILD_PNG=ON -D BUILD_TIFF=ON -D BUILD_JASPER=ON . ../opencv
-DBUILD_opencv_dnn=OFF -D BUILD_JPEG=ON
then I got a error when I do make:
[ 80%] Built target opencv_perf_xfeatures2d_pch_dephelp
[ 81%] Built target pch_Generate_opencv_perf_xfeatures2d
[ 81%] Built target opencv_xfeatures2d_pch_dephelp
[ 81%] Built target pch_Generate_opencv_xfeatures2d
[ 81%] Building CXX object modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/boostdesc.cpp.o
/data1/NLPRMNT/yanchaochao/sfm/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:646:37: fatal error: boostdesc_bgm.i: No such file or directory
#include "boostdesc_bgm.i"
^
compilation terminated.
make[2]: * [modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/boostdesc.cpp.o] Error 1
make[1]: [modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/all] Error 2
make: ** [all] Error 2
It seems that could not find "boostdesc_bgm.i", how to fix it?
have a look here
I am also having this problem with 3.2 Did you find a solution? The link that berak posted doesn't apply. Thanks
@jrbent, why, exactly, do you think, it does not apply ?