colcon build package-up-to can't find installed package
Because I have the same error as in this issue: https://github.com/ros2/rosidl_typesupport_connext/issues/20
I tried to solve it according the suggestions of jacobperron here: https://github.com/ros2/rosidl_typesupport_connext/pull/21 , with the difference that I have another rti_connex version (6.0.0). To source the path worked. But as i want to make the second step :
colcon build --packages-up-to rmw_connext_cpp
i got the error:
Package 'rmw_connext_cpp' specified with --packages-up-to was not found
I checked it in ros2 and the package is available:
$ ros2 pkg list | grep rmw_connext_cpp
rmw_connext_cpp'
somehow I am confused. what am I doing wrong :/
Asked by kadlu on 2019-05-15 18:19:08 UTC
Comments
So are you running OSX? Or Linux? If the latter: if you installed using
apt
, I would expectcolcon
not being able to build the package, as it only builds pkgs that are present in your workspace in source form.Asked by gvdhoorn on 2019-05-16 02:14:12 UTC
Oh that was the right hint. I use OSX 10.14.4. First i tried to install ros2 according this instructions: https://index.ros.org//doc/ros2/Installation/OSX-Development-Setup/ Because of not ending build errors i looked for a other solution and found this instructions: https://index.ros.org//doc/ros2/Installation/OSX-Install-Binary/ . I think i downloaded a allready buildet os with this solution. I have no src files. I will make a src folder and download the package source from somewhere. And try it again. Thank you! How would you suggest to handle if it still not working bot maybe a other reason? Close this ticket and make a new one?
Asked by kadlu on 2019-05-16 06:06:18 UTC
I would suggest to only build the affected package(s) in a workspace if possible, not entire ROS 2.
That would save you a lot of work and time.
If what is still not working? If
colcon
still can't build the package: just post another comment here. If building the pkg doesn't solve your problem: that would be a new issue, as it's unconnected to your current issue.Asked by gvdhoorn on 2019-05-16 06:30:49 UTC