Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build with opencv 3.1.0 and CUDA 10,1 and cuddn 7.5? #64

Open
K-M-Ibrahim-Khalilullah opened this issue May 25, 2020 · 3 comments
Open

Comments

@K-M-Ibrahim-Khalilullah

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?

@Onicc
Copy link

Onicc commented Jul 14, 2020

Hi, Did you solve it?

@kangjehun
Copy link

kangjehun commented Jul 10, 2024

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.

@anuranbaka
Copy link
Owner

@kangjehun Great fix! If you're still looking at this, can you submit a PR to make that change? I'll merge it in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants