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

TinyXML not detected ROS Foxy while building CoppeliaSim interface

asked 2022-02-27 10:00:41 -0600

pablo.arandarod gravatar image

I've been trying to install the interface between CoppeliaSim and ROS2 to do some simulations. For that, I try to build the package found in the following link.

What I encounter is an error in which it is said that it cannot find TinyXML2 package, although I have it installed both as a normal package (apt install tinyxml2...) and as a ros package (apt install tinyxml2-vendor). The error that I encountered (with more info) is the following :

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find TinyXML2 (missing: TINYXML2_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE) /opt/ros/foxy/share/tinyxml2_vendor/cmake/Modules/FindTinyXML2.cmake:58 (find_package_handle_standard_args) /opt/ros/foxy/share/pluginlib/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /opt/ros/foxy/share/pluginlib/cmake/pluginlibConfig.cmake:41 (include) /opt/ros/foxy/share/image_transport/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /opt/ros/foxy/share/image_transport/cmake/image_transportConfig.cmake:41 (include) CMakeLists.txt:49 (find_package)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-02-27 10:28:57 -0600

Mike Scheutzow gravatar image

If you are building something from source, you need to install the -dev apt package. You don't say what OS you are using, but in ubuntu 18, the apt package is named libtinyxml-dev.

I would purge that tinyxml2-vendor pkg, whatever it is, unless you know you need it.

edit flag offensive delete link more

Comments

The package that I'm building requires tinyxml2, so that is something I cannot change. I have all the -dev packages installed, so I suspect that it isn't finding it.

pablo.arandarod gravatar image pablo.arandarod  ( 2022-02-27 12:06:06 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-02-27 10:00:41 -0600

Seen: 482 times

Last updated: Feb 27 '22