大疆社区

标题: OSDK ROS3.6编译问题 [打印本页]

作者: WriteBBBBBug    时间: 2021-3-4
标题: OSDK ROS3.6编译问题
请教各位大佬:在ROS环境下编译示例代码,OSDK已经编译完成,ROS3.6编译的时候出现以下问题:
CMake Error at Onboard-SDK-ROS-3.6.0/dji_sdk/CMakeLists.txt:16 (find_package):
  By not providing "FindDJIOSDK.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "DJIOSDK", but
  CMake did not find one.

  Could not find a package configuration file provided by "DJIOSDK" with any
  of the following names:

    DJIOSDKConfig.cmake
    djiosdk-config.cmake

  Add the installation prefix of "DJIOSDK" to CMAKE_PREFIX_PATH or set
  "DJIOSDK_DIR" to a directory containing one of the above files.  If
  "DJIOSDK" provides a separate development package or SDK, be sure it has
  been installed.


OSDK和ROS3.6都已经下载到src文件下,请问这个是什么问题啊

作者: kv886    时间: 2021-3-4
你是看的OSDK3.9文档操作的吗
作者: WriteBBBBBug    时间: 2021-3-5
<div class="quote"><blockquote><a class="nopicture" rel="noopener" href="https://bbs.dji.com/forum.php?mod=redirect&amp;goto=findpost&amp;pid=3917713&amp;ptid=263701" target="_blank"><span class="customName">kv886</span><span class="customShow"></span><span class="customTime">3-4 16:41</span></a>
<span class="customSpan">你是看的OSDK3.9文档操作的吗</span></blockquote></div>已经解决啦,我OSDK没有放到src下边,尴尬




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