Error building iris_lama_ros - Could not find a package configuration file provided by "tf_conversions"
Could not find a package configuration file provided by "tf_conversions" with any of the following names:
tf_conversionsConfig.cmake
tf_conversions-config.cmake
Add the installation prefix of "tfconversions" to CMAKEPREFIXPATH or set "tfconversionsDIR" to a directory containing one of the above files. If "tfconversions" provides a separate development package or SDK, be sure it has been installed.
CMakeLists.txt -
cmake_minimum_required(VERSION 3.5)
project(iris_lama_ros)
# Default to release mode.
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
find_package(Eigen3 REQUIRED NO_MODULE)
# find_package(iris_lama REQUIRED)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(catkin REQUIRED COMPONENTS
tf
roscpp
rosbag
nav_msgs
sensor_msgs
#eigen_conversions
tf_conversions
geometry_msgs
message_filters
visualization_msgs
rosbag_storage
iris_lama
)
catkin_package()
###########
## Build ##
###########
## Specify additional locations of header files
include_directories(include ${catkin_INCLUDE_DIRS})
add_subdirectory(src)
#############
## Install ##
#############
## Mark cpp header files for installation
#install(DIRECTORY include/rtk/ros/
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
# FILES_MATCHING PATTERN "*.h"
# PATTERN ".svn" EXCLUDE
#)
Asked by rosdevil7 on 2020-03-20 08:54:24 UTC
Answers
For any future readers, the fix, as mentioned on Discourse here, is to simply install the tf_conversions
package, e.g. for melodic
:
$ sudo apt install ros-melodic-tf-conversions
Asked by christophebedard on 2020-03-20 11:31:29 UTC
Comments