Robotics StackExchange | Archived questions

my_odom_configuration_dep not found dependency

I am running into a problem that I have never ran into before doing 2d navigation. So I basically am doing things like this

However, after I create the package and did catkin_make, it gave me this error:

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by
  "my_odom_configuration_dep" with any of the following names:

    my_odom_configuration_depConfig.cmake
    my_odom_configuration_dep-config.cmake

  Add the installation prefix of "my_odom_configuration_dep" to
  CMAKE_PREFIX_PATH or set "my_odom_configuration_dep_DIR" to a directory
  containing one of the above files.  If "my_odom_configuration_dep" provides
  a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  my_robot_name_2dnav/CMakeLists.txt:10 (find_package)


-- Could not find the required component 'my_odom_configuration_dep'. 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/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "my_odom_configuration_dep" with any of the following names:

    my_odom_configuration_depConfig.cmake
    my_odom_configuration_dep-config.cmake

  Add the installation prefix of "my_odom_configuration_dep" to
  CMAKE_PREFIX_PATH or set "my_odom_configuration_dep_DIR" to a directory
  containing one of the above files.  If "my_odom_configuration_dep" provides
  a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  my_robot_name_2dnav/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/chuong/workshop/build/CMakeFiles/CMakeOutput.log".
See also "/home/chuong/workshop/build/CMakeFiles/CMakeError.log".
Makefile:318: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

Asked by Usui on 2019-06-05 18:02:42 UTC

Comments

Hey, did you find any solution to this problem yet?

Asked by Govind on 2020-05-18 17:27:37 UTC

Encountered the same problem. Anyone know how to fix this ?

Asked by mgrallos on 2022-10-24 01:11:19 UTC

Encountered the same problem.

Asked by Shivam on 2022-12-23 15:41:41 UTC

Answers