Open K-M-Ibrahim-Khalilullah opened 4 years ago
Hi, Did you solve it?
I successfully built OpenCV 3.2.0 with CUDA 10.2, without cuDNN. However, the presence or absence of cuDNN will not affect the success of the build
Initially, I encountered the same error related to the __shfl functions.
I resolved this by replacing the shfl related functions (shfl, shfl_down, __shfl_up, shfl_xor) with __shfl_sync(), shfl_down_sync(), shfl_up_sync(), and __shfl_xor_sync().
Although the build process still generated many deprecation warnings, it completed successfully.
@kangjehun Great fix! If you're still looking at this, can you submit a PR to make that change? I'll merge it in
I am trying to to build with opencv 3.1.0 and CUDA 10.1 and cudnn 7.5 in ubuntu 16.04 During building opencv . it produces the following error: [ 31%] Built target pch_Generate_opencv_sfm [ 31%] Built target pch_Generate_opencv_test_sfm [ 31%] Built target pch_Generate_opencv_stitching [ 31%] Built target pch_Generate_opencv_test_stitching [ 31%] Built target pch_Generate_opencv_perf_stitching [ 31%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o [ 31%] Built target pch_Generate_opencv_highgui [ 31%] Built target pch_Generate_opencv_test_highgui [ 31%] Built target pch_Generate_opencv_test_cvv [ 31%] Built target multiview Scanning dependencies of target correspondence [ 31%] Building CXX object modules/sfm/src/libmv_light/libmv/correspondence/CMakeFiles/correspondence.dir/feature_matching.cc.o [ 31%] Building CXX object modules/sfm/src/libmv_light/libmv/correspondence/CMakeFiles/correspondence.dir/matches.cc.o [ 31%] Building CXX object modules/sfm/src/libmv_light/libmv/correspondence/CMakeFiles/correspondence.dir/nRobustViewMatching.cc.o /SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(63): warning: function "shfl(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(147): here was declared deprecated ("shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(68): warning: function "shfl(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(147): here was declared deprecated ("shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(73): warning: function "shfl(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(147): here was declared deprecated ("shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(78): warning: function "shfl(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(147): here was declared deprecated ("shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(83): warning: function "shfl(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(147): here was declared deprecated ("shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(88): warning: function "shfl(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(147): here was declared deprecated ("shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(93): warning: function "shfl(float, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(191): here was declared deprecated ("shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(101): warning: function "shfl(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(147): here was declared deprecated ("shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(102): warning: function "shfl(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(147): here was declared deprecated ("shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(154): warning: function "shfl_up(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(158): here was declared deprecated ("__shfl_up() is deprecated in favor of shfl_up_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(159): warning: function "shfl_up(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(158): here was declared deprecated ("__shfl_up() is deprecated in favor of shfl_up_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(164): warning: function "shfl_up(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(158): here was declared deprecated ("__shfl_up() is deprecated in favor of shfl_up_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(169): warning: function "shfl_up(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(158): here was declared deprecated ("__shfl_up() is deprecated in favor of shfl_up_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(174): warning: function "shfl_up(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(158): here was declared deprecated ("__shfl_up() is deprecated in favor of shfl_up_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(179): warning: function "shfl_up(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(158): here was declared deprecated ("__shfl_up() is deprecated in favor of shfl_up_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(184): warning: function "shfl_up(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(199): here was declared deprecated ("__shfl_up() is deprecated in favor of shfl_up_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(192): warning: function "shfl_up(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(158): here was declared deprecated ("__shfl_up() is deprecated in favor of shfl_up_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(193): warning: function "shfl_up(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(158): here was declared deprecated ("__shfl_up() is deprecated in favor of shfl_up_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(245): warning: function "shfl_down(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(169): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(250): warning: function "shfl_down(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(169): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(255): warning: function "shfl_down(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(169): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(260): warning: function "shfl_down(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(169): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(265): warning: function "shfl_down(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(169): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(270): warning: function "shfl_down(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(169): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(275): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(207): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(283): warning: function "shfl_down(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(169): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(284): warning: function "shfl_down(int, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(169): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(336): warning: function "shfl_xor(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(180): here was declared deprecated ("__shfl_xor() is deprecated in favor of shfl_xor_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(341): warning: function "shfl_xor(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(180): here was declared deprecated ("__shfl_xor() is deprecated in favor of shfl_xor_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(346): warning: function "shfl_xor(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(180): here was declared deprecated ("__shfl_xor() is deprecated in favor of shfl_xor_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(351): warning: function "shfl_xor(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(180): here was declared deprecated ("__shfl_xor() is deprecated in favor of shfl_xor_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(356): warning: function "shfl_xor(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(180): here was declared deprecated ("__shfl_xor() is deprecated in favor of shfl_xor_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(361): warning: function "shfl_xor(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(180): here was declared deprecated ("__shfl_xor() is deprecated in favor of shfl_xor_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(366): warning: function "shfl_xor(float, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(215): here was declared deprecated ("__shfl_xor() is deprecated in favor of shfl_xor_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(374): warning: function "shfl_xor(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(180): here was declared deprecated ("__shfl_xor() is deprecated in favor of shfl_xor_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(375): warning: function "shfl_xor(int, int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(180): here was declared deprecated ("__shfl_xor() is deprecated in favor of shfl_xor_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
[ 31%] Linking CXX static library ../../../../../../lib/libcorrespondence.a [ 31%] Built target correspondence /SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(63): error: identifier "__shfl" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(68): error: identifier "__shfl" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(73): error: identifier "__shfl" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(78): error: identifier "__shfl" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(83): error: identifier "__shfl" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(88): error: identifier "__shfl" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(93): error: identifier "__shfl" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(101): error: identifier "__shfl" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(154): error: identifier "__shfl_up" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(159): error: identifier "__shfl_up" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(164): error: identifier "__shfl_up" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(169): error: identifier "__shfl_up" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(174): error: identifier "__shfl_up" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(179): error: identifier "__shfl_up" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(184): error: identifier "__shfl_up" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(192): error: identifier "__shfl_up" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(245): error: identifier "__shfl_down" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(250): error: identifier "__shfl_down" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(255): error: identifier "__shfl_down" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(260): error: identifier "__shfl_down" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(265): error: identifier "__shfl_down" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(270): error: identifier "__shfl_down" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(275): error: identifier "__shfl_down" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(283): error: identifier "__shfl_down" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(336): error: identifier "__shfl_xor" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(341): error: identifier "__shfl_xor" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(346): error: identifier "__shfl_xor" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(351): error: identifier "__shfl_xor" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(356): error: identifier "__shfl_xor" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(361): error: identifier "__shfl_xor" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(366): error: identifier "__shfl_xor" is undefined
/SLAM/openDTAM2/DTAM2/opencv/modules/cudev/include/opencv2/cudev/warp/detail/../../warp/shuffle.hpp(374): error: identifier "__shfl_xor" is undefined
32 errors detected in the compilation of "/tmp/tmpxft_00005554_00000000-8_gpu_mat.compute_75.cpp1.ii". CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:266 (message): Error generating file /SLAM/openDTAM2/DTAM2/opencv/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o
modules/core/CMakeFiles/opencv_core.dir/build.make:402: recipe for target 'modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o' failed make[2]: [modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o] Error 1 CMakeFiles/Makefile2:4038: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make: *** [all] Error 2 Is there any suggestion please?