-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Description
Using this cmake config:
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_PYTHON_EXAMPLES=ON
-D OPENCV_EXTRA_MODULES_PATH=~/opencv/opencv_contrib/modules -D BUILD_opencv_dnns_easily_fooled=OFF
-D BUILD_opencv_dnn_modern=OFF -D BUILD_opencv_cnn_3dobj=OFF
-D PYTHON_EXECUTABLE=/usr/bin/python
-D WITH_CUDA=OFF -D BUILD_SHARED_LIBS=OFF
-D BUILD_EXAMPLES=ON ..
Just disable some dnn module which need caffe, since I am not installed caffe. But I need xfeatures module which give me those errors. It seems boostdesc.cpp not able to found, but I installed libboost-all-dev.
Any idea about this would be very appreciated, because the exactly same process I have build succeed many times except this. My script build from latest source so I think it might be a recently bug!
[ 80%] Building CXX object modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/boostdesc.cpp.o
/root/opencv/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:646:37: fatal error: boostdesc_bgm.i: No such file or directory
compilation terminated.
modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/build.make:94: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/boostdesc.cpp.o' failed
ccppcc2000, wang3820, DawnBlossomsPluckatDusk, DiamondSheep, Sherlock-hh and 3 more