opencv + cuda编译

#获取最新代码
git clone "https://github.com/opencv/opencv.git"

#build目录
mkdir build
cd build

#使用ccmake来配置,至少需要cmake 3.5以上
ccmake ..
  #cuda on打开
  #按c, 按q

make -j 40
make install

猜你喜欢

转载自www.cnblogs.com/ahfuzhang/p/10359058.html