Open pauljurczak opened 4 years ago
Hmm...looking at this and other packages that give me the same error, the issue seems to be that declared_nodelets
doesn't like having more than one library
tag in the XML doc. It's this line that's failing:
From https://stackoverflow.com/questions/7693204/expaterror-junk-after-document-element:
XML is required to have exactly one top-level element. By the time you parse it, it has a number of top-level
tags. The XML parser is parsing the first one as a root element, and then is surprised to find another top-level element.
So we have two options:
library
in the current one, making sure to install them in the CMakeLists.txt
, and reference them in the package.xml
.class
tags inside one library
tag.I won't get the cycles, but will accept a PR.
When running
rosrun nodelet declared_nodelets
Ubuntu 18.04.3 with Ros melodic, I'm getting: