Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a package configuration file provided by "dji_sdk" with any of the following names: dji_sdkConfig.cmake #510

Open
tkltrk opened this issue Aug 30, 2022 · 0 comments

Comments

@tkltrk
Copy link

tkltrk commented Aug 30, 2022

i am trying to use gazebo for matrice m600 pro.i did dowland all the requirement packages but while i am trying to run catkin_make command i am having this error.

~/catkin_dji$ catkin_make
Base path: /home/rabia/catkin_dji
Source space: /home/rabia/catkin_dji/src
Build space: /home/rabia/catkin_dji/build
Devel space: /home/rabia/catkin_dji/devel
Install space: /home/rabia/catkin_dji/install

Running command: "make cmake_check_build_system" in "/home/rabia/catkin_dji/build"

-- Using CATKIN_DEVEL_PREFIX: /home/rabia/catkin_dji/devel
-- Using CMAKE_PREFIX_PATH: /home/rabia/catkin_dji/devel;/home/rabia/catkin_ws2/devel;/home/rabia/model/devel;/home/rabia/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/rabia/catkin_dji/devel;/home/rabia/catkin_ws2/devel;/home/rabia/model/devel;/home/rabia/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /home/rabia/.local/lib/python3.8/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/rabia/catkin_dji/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 11 packages in topological order:
-- ~~ - dji_drone_description
-- ~~ - hector_localization (metapackage)
-- ~~ - realsense_description
-- ~~ - velodyne_description
-- ~~ - velodyne_simulator (metapackage)
-- ~~ - dji_osdk_ros
-- ~~ - dji_gazebo
-- ~~ - hector_pose_estimation_core
-- ~~ - hector_pose_estimation
-- ~~ - message_to_tf
-- ~~ - velodyne_gazebo_plugins
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'dji_drone_description'
-- ==> add_subdirectory(dji_ros_simulator/dji_drone_description)
-- +++ processing catkin metapackage: 'hector_localization'
-- ==> add_subdirectory(hector_localization/hector_localization)
-- +++ processing catkin package: 'realsense_description'
-- ==> add_subdirectory(realsense_description)
-- +++ processing catkin package: 'velodyne_description'
-- ==> add_subdirectory(velodyne_simulator/velodyne_description)
-- +++ processing catkin metapackage: 'velodyne_simulator'
-- ==> add_subdirectory(velodyne_simulator/velodyne_simulator)
-- +++ processing catkin package: 'dji_osdk_ros'
-- ==> add_subdirectory(dji_sdk)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Support Advanced Sensing
-- Found libusb-1.0:
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- dji_osdk_ros: 38 messages, 75 services
-- USB INCLUDE: /usr/include/libusb-1.0
-- Found OpenCV 4.2.0 installed in the system, will use it to display image in AdvancedSensing APIs
-- - Includes: /usr/include/opencv4
-- - Libraries: opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio;opencv_aruco;opencv_bgsegm;opencv_bioinspired;opencv_ccalib;opencv_datasets;opencv_dnn_objdetect;opencv_dnn_superres;opencv_dpm;opencv_face;opencv_freetype;opencv_fuzzy;opencv_hdf;opencv_hfs;opencv_img_hash;opencv_line_descriptor;opencv_optflow;opencv_phase_unwrapping;opencv_plot;opencv_quality;opencv_reg;opencv_rgbd;opencv_saliency;opencv_shape;opencv_stereo;opencv_structured_light;opencv_superres;opencv_surface_matching;opencv_text;opencv_tracking;opencv_videostab;opencv_viz;opencv_ximgproc;opencv_xobjdetect;opencv_xphoto
-- PROJECT_NAME: dji_osdk_ros
-- DJIOSDK_LIB:
-- Found SDL2:
-- - Includes: /usr/include/SDL2
-- - Libraries: -lSDL2
-- Find OPENCV, camera stream node will be compiled.
-- Did not find required libraries, stereo vision depth perception node will not be compiled.
-- +++ processing catkin package: 'dji_gazebo'
-- ==> add_subdirectory(dji_ros_simulator/dji_gazebo)
-- Could NOT find dji_sdk (missing: dji_sdk_DIR)
-- 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/noetic/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):
dji_ros_simulator/dji_gazebo/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/rabia/catkin_dji/build/CMakeFiles/CMakeOutput.log".
See also "/home/rabia/catkin_dji/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:320: cmake_check_build_system] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant