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 /h…