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

Revision history [back]

The problem is a conflicting include guard, TINYXML_INCLUDED, in rospack's custom tinyxml installation.

This has conflicted with other TINYXML implementations even in previous versions of ROS. This mostly went unnoticed because the implementations were compatible enough not to cause compile errors.

In electric tinyxml has been pushed into a namespace: "rospack_tinyxml" So now the conflict is exposed because either the types within the namespace will not be defined, or the types outside the namespace will not be defined depending on the include order.

There is a bug report here:

  • https://code.ros.org/trac/ros/ticket/3692

...so it may be soon fixed but in the mean time a work around would be:

just before an identified offending include file place:

#undef TINYXML_INCLUDED