Hi all,
after having some problems with my already working gazebo ros plugins and the new gazebo_ros_pkgs (see my question 3557) I tried to reinstall all components (ros groovy, Gazebo and gazebo_ros_pkgs - Gazebo parts from source) following the tutorials http://gazebosim.org/wiki/1.9/install and http://gazebosim.org/wiki/Tutorials/1.9/Installing_gazebo_ros_Packages. At the point where I had to build the gazebo_ros_pkgs (with catkin_make) I got the following error message:
CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
Could not find a configuration file for package cmake_modules.
Set cmake_modules_DIR to the directory containing a CMake configuration
file for cmake_modules. The file will have one of the following names:
cmake_modulesConfig.cmake
cmake_modules-config.cmake
Call Stack (most recent call first):
ros_control/transmission_interface/CMakeLists.txt:31 (find_package)
CMake Error at ros_control/transmission_interface/CMakeLists.txt:37 (find_package):
Could not find module FindTinyXML.cmake or a configuration file for package
TinyXML.
Adjust CMAKE_MODULE_PATH to find FindTinyXML.cmake or set TinyXML_DIR to
the directory containing a CMake configuration file for TinyXML. The file
will have one of the following names:
TinyXMLConfig.cmake
tinyxml-config.cmake
CMake Error at /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:156 (message):
catkin_package() DEPENDS on 'TinyXML' which must be find_package()-ed
before. If it is a catkin package it can be declared as CATKIN_DEPENDS
instead without find_package()-ing it.
Call Stack (most recent call first):
/opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
ros_control/transmission_interface/CMakeLists.txt:40 (catkin_package)
-- Configuring incomplete, errors occurred!
Invoking "cmake" failed
It seemed to me, that I got this error message before as I tried another way of reinstalling gazebo with the pre-compiled binaries. And I am not sure if I am the only one with this error.
I'll directly post my solution.
Cheers, Christoph