大疆社区

标题: 使用osdk 建立项目make出现错误 [打印本页]

作者: wangruipeng    时间: 2023-5-27
标题: 使用osdk 建立项目make出现错误
[ 96%] Building CXX object CMakeFiles/UavUtility.dir/osdk_helper/sample/mission_sample.cpp.o
[100%] Linking CXX executable UavUtility
CMakeFiles/UavUtility.dir/osdk_helper/common/dji_linux_helpers.cpp.o.data.rel+0x20): undefined reference to `OsdkLinux_USBBulkInit'
CMakeFiles/UavUtility.dir/osdk_helper/common/dji_linux_helpers.cpp.o.data.rel+0x28): undefined reference to `OsdkLinux_USBBulkSendData'
CMakeFiles/UavUtility.dir/osdk_helper/common/dji_linux_helpers.cpp.o.data.rel+0x30): undefined reference to `OsdkLinux_USBBulkReadData'
CMakeFiles/UavUtility.dir/osdk_helper/common/dji_linux_helpers.cpp.o.data.rel+0x38): undefined reference to `OsdkLinux_USBBulkClose'
collect2: error: ld returned 1 exit status
CMakeFiles/UavUtility.dir/build.make:718: recipe for target 'UavUtility' failed
make[2]: *** [UavUtility] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/UavUtility.dir/all' failed
make[1]: *** [CMakeFiles/UavUtility.dir/all] Error 2
Makefile:83: recipe for target 'all' failed


e27.png (30.1 KB, 下载次数: 2)

e27.png





欢迎光临 大疆社区 (https://bbs.dji.com/) Powered by Discuz! X3.2