unzip moca_furnace-master.zip
sudo apt purge libgflags-dev
sudo apt install libgflags-dev
locate libgflags
mkdir build
cd build
cmake ..
sudo ln -s /usr/lib/x86_64-linux-gnu/libgflags.so /usr/local/lib/libgflags.so
gedit CMakeLists.txt
# ---------------- ! find gflags
#find_package(gflags REQUIRED)
#if (NOT gflags_FOUND)
# message(ERROR "gflags required but not found.")
#endif ()
sudo apt install libgoogle-glog-dev
cmake ..
make -j8
./demo_yolov3_lite_mbv2_voc.sh
原文:https://www.cnblogs.com/zhengwenshao/p/12416629.html