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

 

posted on 2019-02-10 12:28  ahfuzhang  阅读(969)  评论(0编辑  收藏  举报