Revision 26 as of 2011-07-14 19:19:20

Clear message

As of ROS Electric, the tinyxml package has been replaced with a system dependency.

TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs.

Starting in ROS Electric, TinyXML is installed as a rosdep system dependency. This means that you compile against TinyXML without requiring any ROS-specific build tools.

ROS Electric: using the system install

#includes

To use the system dependency of tinyxml, simply

#include <tinyxml.h>

NOTE: the old ROS package used #include <tinyxml/tinyxml.h> instead. If you are updating old code, please change to the above.

CMakeLists.txt

You need to explicitly link against against the tinyxml library:

target_link_libraries(${PROJECT_NAME} tinyxml)

2. <rosdep name="tinyxml" /> instead of <depend package="tinyxml" /> in your Manifest.

Package/stack dependencies

The tinyxml rosdep is defined in the ROS stack, which means that your code automatically has it available. You only need to add a declaration to your manifest.xml.

  1. manifest.xml

  <rosdep name="tinyxml" />

Make sure you removed <depend package="tinyxml" /> from your manifestv

External Documentation

Please see the tinyxml website for documentation on using tinyxml.