opencv 3.0 cuda9.0

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

make -j48

sudo make install

 

1. ../cmake/OpenCVDetectCUDA.cmake

去掉2.0

 

2.../modules/cudalegacy/src/graphcuts.cpp(%91)

#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)

修改为

#if !defined(HAVE_CUDA)||defined(CUDA_DISABLER)||(CUDART_VERSION>=8000) 

你可能感兴趣的:(算法)