ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I reopened this question as it is the first google result now and its not fully a duplicate of this query because it also contains warnings.
2 | No.2 Revision |
I reopened this question as it is was the first google result now for me and its not fully a duplicate of this query because it also contains warnings.the other answers found by google on rosanswers didn't help me.
I ran into this problem when compiling a Melodic package on Kinetic. The warnings gave the actual solution. Check the CMakeLists.txt of the packages where the warning is shown and compare it to
/home/lucifer/catkin_ws/build/catkin_generated/metapackages/moveit/CMakeLists.txt
The warnings occur only for metapackages. In my case the problem was that the CMakeLists.txt did not exactly match the expected content because the cmake_minimum_required version differed:
cmake_minimum_required(VERSION 2.8.3)
project(ros_canopen)
find_package(catkin REQUIRED)
catkin_metapackage()
So either make sure that you checked out the correct branch for your ROS distro or adapt the cmake_minimum_required version to the one used for your distro. (As given in the warning)
3 | No.3 Revision |
I reopened this question as it was the first google result for me and the other answers found by google on rosanswers didn't help me.me as I wanted to have an homogeneous workspace.
I ran into this problem when compiling a Melodic package on Kinetic. The warnings gave the actual solution. Check the CMakeLists.txt of the packages where the warning is shown and compare it to
/home/lucifer/catkin_ws/build/catkin_generated/metapackages/moveit/CMakeLists.txt
The warnings occur only for metapackages. In my case the problem was that the CMakeLists.txt did not exactly match the expected content because the cmake_minimum_required version differed:
cmake_minimum_required(VERSION 2.8.3)
project(ros_canopen)
find_package(catkin REQUIRED)
catkin_metapackage()
So either make sure that you checked out the correct branch for your ROS distro or adapt the cmake_minimum_required version to the one used for your distro. (As given in the warning)