Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control_toolbox does not use native tinyxml in fuerte (ros ticket #5204) #362

Open
ahendrix opened this issue Mar 12, 2013 · 0 comments
Open

Comments

@ahendrix
Copy link
Member

I am running ros fuerte on ubunto oneiric.

I was trying to build the cyphy_serial_driver package, which depends on control_toolbox.

I got and tried to build control_toolbox using

roslocate info control_toolbox > control_toolbox.rosinstall

rosinstall <my_ros_dir> control_toolbox.rosinstall

source <my_ros_dir>/setup.bash

rosmake control_toolbox

When building control_toolbox, I got a big nasty error message, the substance of which was:

[rospack] Error: package/stack control_toolbox depends on non-existent package tinyxml

It turns out, per this link:

http://www.ros.org/wiki/tinyxml

that tinyxml used to be the name of a ros package, but now programs should just use the tinyxml system libraries. In order to do that, several changes must be made to the control_toolbox package:

includes of <tinyxml tinyxml.h=""> or "tinyxml/tinyxml.h" need to be replaced with <tinyxml.h>
the dependence on the tinyxml package needs to be removed from manifest.xml
you need to tell the cmake chain that it should link against tinyxml, by adding this to your CMakeLists.txt: target_link_libraries(${PROJECT_NAME} tinyxml)

I have attached a diff file, generated with

svn diff > ros_control_toolbox_tinyxml_dependency.diff

which will fix these problems, and cause control_toolbox to build on fuerte.

trac data:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant