这个问题有人遇到过吗,怎么解决 作者: dji-flighter 时间: 2022-11-30
编译osdk的示例程序,cmake出现报错,
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/ubuntu/Onboard-SDK-master/osdk-core/LIBUSB_1_INCLUDE_DIR
used as include directory in directory /home/ubuntu/Onboard-SDK-master/osdk-core
LIBUSB_1_INCLUDE_DIR
找不到LIBUSB_1_INCLUDE_DIR,源文件下面也没有这个目录,有人知道怎么回事吗?