ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Kyuhwan Yeon's profile - activity

2023-07-03 22:22:22 -0500 received badge  Nice Answer (source)
2021-06-29 09:44:59 -0500 marked best answer Is there a CMakeLists configuration for referencing packages to each other?

ROS: melodic
Linux: 18.04

When i catkin_make when module_one find package module_two and module_two find package module_one, there is error like below

-- +++ processing catkin package: 'module_one' -- ==> add_subdirectory(module_one) -- Could NOT find module_two (missing: module_two_DIR) -- Could not find the required component 'module_two'. 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/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "module_two" with any of the following names:

module_twoConfig.cmake
module_two-config.cmake

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

-- Configuring incomplete, errors occurred! See also "/home/ri/workspace/catkin_playground/build/CMakeFiles/CMakeOutput.log". See also "/home/ri/workspace/catkin_playground/build/CMakeFiles/CMakeError.log".

the workspace folder tree is below

├── build
│   ├── atomic_configure
│   ├── catkin
│   │   └── catkin_generated
│   │   └── version
│   ├── catkin_generated
│   │   ├── installspace
│   │   └── stamps
│   │   └── Project
│   ├── CMakeFiles
│   │   ├── 3.11.0
│   │   │   ├── CompilerIdC
│   │   │   │   └── tmp
│   │   │   └── CompilerIdCXX
│   │   │   └── tmp
│   │   └── CMakeTmp
│   ├── gtest
│   │   ├── CMakeFiles
│   │   └── googlemock
│   │   ├── CMakeFiles
│   │   └── gtest
│   │   └── CMakeFiles
│   ├── module_one
│   │   └── CMakeFiles
│   └── test_results
├── devel
│   └── lib
└── src
├── module_one
└── module_two

module_one and module_two are pacakage individually.

module_one's CMakeLists.txt has
find_package(catkin REQUIRED module_two)

module_two's CMakeLists.txt has
find_package(catkin REQUIRED module_one)

like the above project,
Is there a CMakeLists configuration for referencing packages to each other?

2021-06-29 09:44:59 -0500 received badge  Scholar (source)
2021-06-29 09:44:56 -0500 received badge  Supporter (source)
2021-06-29 08:38:42 -0500 commented question Is there a CMakeLists configuration for referencing packages to each other?

Thank you. that's correct. the real problem was i tried the circular dependency!. I will reconstruct my packages thank y

2021-06-27 05:47:22 -0500 edited question Is there a CMakeLists configuration for referencing packages to each other?

Is there a CMakeLists configuration for referencing packages to each other? ROS: melodic Linux: 18.04 When i catkin_ma

2021-06-27 05:47:22 -0500 received badge  Editor (source)
2021-06-27 05:47:04 -0500 edited question Is there a CMakeLists configuration for referencing packages to each other?

Is there a CMakeLists configuration for referencing packages to each other? ROS: melodic Linux: 18.04 When i catkin_ma

2021-06-27 05:43:22 -0500 received badge  Famous Question (source)
2021-06-27 05:42:35 -0500 asked a question Is there a CMakeLists configuration for referencing packages to each other?

Is there a CMakeLists configuration for referencing packages to each other? ROS: melodic Linux: 18.04 When i catkin_ma

2021-04-14 01:49:53 -0500 received badge  Necromancer (source)
2021-04-14 01:49:53 -0500 received badge  Teacher (source)
2020-12-29 07:16:26 -0500 received badge  Notable Question (source)
2020-03-24 17:21:04 -0500 received badge  Popular Question (source)
2020-03-24 07:33:54 -0500 asked a question Subscriber frequency by ros::spinOnce()

Subscriber frequency by ros::spinOnce() My problem: Frequency of subscription does not change by ros::Rate As I know, t

2020-03-22 08:20:48 -0500 answered a question move_base warning sensor out of bounds

I reply the same problem at here: link text This answer is the same with link. Hi there, I met the same problem today

2020-03-22 08:20:47 -0500 answered a question how to configure the map to put its origin as in stage

Hi there, I met the same problem today, and I solved this problem. Open global_costmap_params.yaml Add below stateme