ncnn编译安装

1、git clone https://github.com/Tencent/ncnn

2、按照wiki说明来编译,根据需要,选择不同的编译方式。在ncnn/CMakeLists.txt中,可选择编译examples、benchmark、src。

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

https://github.com/Tencent/ncnn/wiki/how-to-build

3、如果编译examples,则需要添加opencv,在example/CMakeLists.txt中,首行添加:

    set(OpenCV_DIR  /home/自己的路径/opencv-2.4.13/release)

,

1、git clone https://github.com/Tencent/ncnn

2、按照wiki说明来编译,根据需要,选择不同的编译方式。在ncnn/CMakeLists.txt中,可选择编译examples、benchmark、src。

https://github.com/Tencent/ncnn/wiki/how-to-build

3、如果编译examples,则需要添加opencv,在example/CMakeLists.txt中,首行添加:

    set(OpenCV_DIR  /home/自己的路径/opencv-2.4.13/release)

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄