服务器环境 ubuntu 20.04
cat /proc/version更新系统
sudo apt-get update
安装NCNN需要的依赖
sudo apt install build-essential git cmake libprotobuf-dev protobuf-compiler libvulkan-dev vulkan-utils libopencv-dev
下载NCNN
git clone https://github.com/Tencent/ncnn.git
编译NCNN
cd ncnn
mkdir build
cmake ..
make
编译过程
安装NCNN
make install
安装结果
网友评论