Jenkins build error with geometry_msgs
Hi there,
I am having problems with Jenkins compilation on binary file for Ubuntu focal(ros noetic)
This is the output: https://build.ros.org/job/Nbin_uF64__...
The error seems related to geometry_msgs, in fact this is an extract from Jenkins console output:
08:17:54 -- Could NOT find geometry_msgs (missing: geometry_msgs_DIR)
08:17:54 -- Could not find the required component 'geometry_msgs'. 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.
08:17:54 CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
08:17:54 Could not find a package configuration file provided by "geometry_msgs"
08:17:54 with any of the following names:
08:17:54
08:17:54 geometry_msgsConfig.cmake
08:17:54 geometry_msgs-config.cmake
08:17:54
08:17:54 Add the installation prefix of "geometry_msgs" to CMAKE_PREFIX_PATH or set
08:17:54 "geometry_msgs_DIR" to a directory containing one of the above files. If
08:17:54 "geometry_msgs" provides a separate development package or SDK, be sure it
08:17:54 has been installed.
08:17:54 Call Stack (most recent call first):
08:17:54 CMakeLists.txt:4 (find_package)
but they are included in CMakeLists.txt:
cmake_minimum_required(VERSION 3.0.2)
project(qb_chain_msgs VERSION 2.2.3 LANGUAGES CXX)
find_package(catkin REQUIRED COMPONENTS
std_msgs
geometry_msgs
message_generation
)
add_message_files(
DIRECTORY msg
FILES
MoveChain.msg
MoveAndRotateChain.msg
)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
include_directories(include
${catkin_INCLUDE_DIRS}
)
catkin_package(
INCLUDE_DIRS
include
CATKIN_DEPENDS
std_msgs
message_runtime
)
# Installation
install(
DIRECTORY
include/${PROJECT_NAME}/
DESTINATION
${CATKIN_PACKAGE_INCLUDE_DESTINATION}
)
install(
DIRECTORY
msg/
DESTINATION
${CATKIN_PACKAGE_SHARE_DESTINATION}/msg
)
and package.xml:
<?xml version="1.0"?>
<package format="2">
<name>qb_chain_msgs</name>
<version>2.2.3</version>
<description>message to control end-effector pose, robot sitiffness and velocity</description>
<author></author>
<maintainer email=nomail@q.com></maintainer>
<license>BSD 3-Clause</license>
<buildtool_depend>catkin</buildtool_depend>
<depend>std_msgs</depend>
<build_depend>message_generation</build_depend>
<build_depend>geometry_msgs</build_depend>
<build_export_depend>message_runtime</build_export_depend>
<exec_depend>message_runtime</exec_depend>
<exec_depend>geometry_msgs</exec_depend>
<!-- The export tag contains other, unspecified, tags -->
<export>
<architecture_independent/>
</export>
</package>
Could you suggest me where the error is? The problem appears only for ROS noetic version.
Please update your question to:
CMakeLists.txt
is almost unreadable like this), and