树莓派编译ncnn

Posted 盛夏夜

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了树莓派编译ncnn相关的知识,希望对你有一定的参考价值。

1.从github上下载ncnn

  git clone --recursive https://github.com/Tencent/ncnn

2.在ncnn根目录下创建build目录,安装cmake编译工具,进入执行编译

  cd ncnn

  mkdir build

  sudo apt-get install cmake -f

  cmake ..

3.编译ncnn

  make -j4

以上是关于树莓派编译ncnn的主要内容,如果未能解决你的问题,请参考以下文章