Cmake cannot find package for dji onboard sdk file
Hi
I was using dji onboard SDK for develop and meet problems about include sdk file into my project.
I put several project in one workspace,
After i 'catkin_make' it, it shows error,
CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "dji_sdk" with any
of the following names:
dji_sdkConfig.cmake
dji_sdk-config.cmake
Add the installation prefix of "dji_sdk" to CMAKE_PREFIX_PATH or set
"dji_sdk_DIR" to a directory containing one of the above files. If
"dji_sdk" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
meteorOnboard/fcu/CMakeLists.txt:8 (find_package)
-- Could not find the required component 'dji_sdk'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "dji_sdk" with any
of the following names:
dji_sdkConfig.cmake
dji_sdk-config.cmake
Add the installation prefix of "dji_sdk" to CMAKE_PREFIX_PATH or set
"dji_sdk_DIR" to a directory containing one of the above files. If
"dji_sdk" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
meteorOnboard/fcu/CMakeLists.txt:8 (find_package)
Any advice appreciated.
Glen
Hi, Glen. I'm having some similar trouble. Did you find any solution to your problem? I'd love to hear about it.