1. 2. mkdir build && cd build cmake ../ -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/home/workspace/dengzr/linux-x64/ make make install 1. 2. 3. 4. 运行yolov5模型 参考封装:https://github.com/ncdhz/YoloV5-LibTorch