大疆社区
大疆社区
使用osdk 建立项目make出现错误
wangruipeng
[ 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



开发者
技术交流
发布于2023-05-27
浏览663

评论

最热
最新
最早
大疆社区
说说你的想法,让评论更有深度~

期待你的评论

关于作者

大疆社区

wangruipeng

见习飞行学员

认证设备

暂无关联认证的设备