<p dir="auto">In the opencv installation process on Ubuntu 16.04,  Error occurs after "make" command is typed in. The report is in the following:</p>
<p dir="auto">/home/kangyun/Software/opencv/opencv_contrib-master/modules/xfeatures2d/test/test_features2d.cpp:51:10: fatal error: features2d/test/test_detectors_regression.impl.hpp: No such file or directory<br>
<strong>#include "features2d/test/test_detectors_regression.impl.hpp"<br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
compilation terminated.</strong><br>
modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/build.make:75: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/test/test_features2d.cpp.o' failed<br>
make[2]: *** [modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/test/test_features2d.cpp.o] Error 1<br>
CMakeFiles/Makefile2:5806: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/all' failed<br>
make[1]: *** [modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/all] Error 2<br>
Makefile:162: recipe for target 'all' failed<br>
make: *** [all] Error 2</p>
<p dir="auto">Would you please give me a hand? Thanks very much!</p>
<p dir="auto">make -j8  error</p>
<p dir="auto">Scanning dependencies of target opencv_test_ximgproc<br>
/home/zkl/zklcode/code/pycv/opencv_contrib/modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp:7:82: fatal error: features2d/test/test_detectors_invariance.impl.hpp: No such file or directory<br>
compilation terminated.<br>
Scanning dependencies of target opencv_perf_xfeatures2d<br>
modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/build.make:110: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/test/test_rotation_and_scale_invariance.cpp.o' failed<br>
make[2]: *** [modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/test/test_rotation_and_scale_invariance.cpp.o] Error 1<br>
make[2]: *** Waiting for unfinished jobs....</p>
<p dir="auto">Scanning dependencies of target opencv_test_aruco<br>
[ 86%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_misc.cpp.o<br>
CMakeFiles/Makefile2:14780: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/all' failed<br>
make[1]: *** [modules/xfeatures2d/CMakeFiles/opencv_test_xfeatures2d.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....</p>