From 07f6099612a1fde1c571fe44d3edffa6d983b2c6 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Fri, 15 Mar 2019 13:54:46 +0100 Subject: [PATCH] replace tinyxml2 ErrorStr() -> ErrorName() ErrorStr() was only introduced in tinyxml2 6.x, and is not yet available on Debian Stretch. --- src/rviz/mesh_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rviz/mesh_loader.cpp b/src/rviz/mesh_loader.cpp index fb20a1c44e..1b0afa89fe 100644 --- a/src/rviz/mesh_loader.cpp +++ b/src/rviz/mesh_loader.cpp @@ -623,7 +623,7 @@ float getMeshUnitRescale(const std::string& resource_path) } else { - ROS_ERROR("XML parse error [%s]: %s", resource_path.c_str(), xmlDoc.ErrorStr()); + ROS_ERROR("XML parse error [%s]: %s", resource_path.c_str(), xmlDoc.ErrorName()); } return unit_scale; }