728x90
반응형

 

 

 

 

Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow_pch_dephelp.dir/opencv_test_optflow_pch_dephelp.cxx.o

Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow_pch_dephelp.dir/opencv_perf_optflow_pch_dephelp.cxx.o

 

In file included from ~/workspace/opencv/opencv-master/modules/stitching/include/opencv2/stitching.hpp:49:0, from ~/workspace/opencv/opencv-master/modules/stitching/src/precomp.hpp:59, from ~/workspace/build/modules/stitching/opencv_stitching_pch_dephelp.cxx:1: ~/workspace/opencv/opencv-master/modules/stitching/include/opencv2/stitching/detail/matchers.hpp:52:42: fatal error: opencv2/xfeatures2d/cuda.hpp:

 

No such file or directory # include "opencv2/xfeatures2d/cuda.hpp" ^

 

compilation terminated.

make[2]: *** [modules/stitching/CMakeFiles/opencv_stitching_pch_dephelp.dir/opencv_stitching_pch_dephelp.cxx.o] Error 1

make[1]: *** [modules/stitching/CMakeFiles/opencv_stitching_pch_dephelp.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs.... Linking CXX static library ../../lib/libopencv_optflow_pch_dephelp.a Linking CXX static library ../../lib/libopencv_perf_optflow_pch_dephelp.a Linking CXX static library ../../lib/libopencv_test_optflow_pch_dephelp.a

[ 22%] [ 22%] [ 22%] Built target opencv_perf_optflow_pch_dephelp

Built target opencv_test_optflow_pch_dephelp

Built target opencv_optflow_pch_dephelp

Linking CXX static library ../../lib/libopencv_perf_ximgproc_pch_dephelp.a

[ 22%] Built target opencv_perf_ximgproc_pch_dephelp

make: *** [all] Error 2

 

 

 

 

Cmake 할 때 아래와 같은 옵션을 덧붙여준다. 

 

-DBUILD_opencv_xfeatures2d=OFF

 

 

 

 

참고자료 :  https://github.com/opencv/opencv_contrib/issues/1131

 

make error · Issue #1131 · opencv/opencv_contrib

whene i excute this command make -j5 i got this error Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_read.c.o [ 24%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_str...

github.com

 

728x90
반응형