When I try to compile pluginlib package it shows an error about TinyXML2 in ros-indigo

asked 2018-12-25 02:25:13 -0600

vedat33 gravatar image

updated 2018-12-25 23:06:55 -0600

jayess gravatar image

I'd spend a lot of days to find a solution but failed. I'm using ros-indigo on raspberry pi 3. It shows an error when I try to compile pluginlib package. The error is :

CMake Error at pluginlib/pluginlib/CMakeLists.txt:6 (find_package):
  By not providing "FindTinyXML2.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "TinyXML2",
  but CMake did not find one.

  Could not find a package configuration file provided by "TinyXML2" with any
  of the following names:

    TinyXML2Config.cmake
    tinyxml2-config.cmake

  Add the installation prefix of "TinyXML2" to CMAKE_PREFIX_PATH or set
  "TinyXML2_DIR" to a directory containing one of the above files.  If
  "TinyXML2" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/home/pi/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/pi/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:514: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive close merge delete