Integrating package into ROS installed from source
I have a problem with ROS installed on embedded SPARC machine from source. It is needed to integrate the geometry_msgs
package and some others into our installation. Is there a general way to do that? Unfortunately, rosmake is not working on our platform due impossibility to detect OS and environment.
You tagged this
melodic
, yet mentionrosmake
.rosmake
is part ofrosbuild
, which is the build system that was deprecated many years ago and is virtually unused on Melodic (or any recent ROS release).Can you clarify?
Also: could you provide a little more details about "integrate $pkg ..
.. into our installation"? Do you want to use new packages with an existing ROS installation (which happens to run on an embedded SPARC system)? Can you describe the ROS distribution that is currently installed on the target? Cross-compiled? Any particular framework used (OpenEmbedded, etc)?
We installed ROS Melodic on our non-standard SPARC system using limited debian-based Linux distribution. We have
apt
equipped with only very limited set of packages provided by CPU manufacturer. There are no ROS packages prebuilt. We installed ROS Melodic from source usingpip
andvirtualenv
.After that we tried to build our own workspace that requires
geometry_msgs
. And it was impossible to build it because of missing.cmake
files fromgeometry_msgs
. This is a problem because many of our packages requiregeometry_msgs
. So it is desirable to integrategeometry_msgs
into systemHave you tried adding
geometry_msgs
to that workspace? If that would be an acceptable solution to you, that is how you could approach it. Just make sure all the (transitive) dependencies of your pkg and their dependencies are present in the workspace. You can userosdep
to check.and quite a bit of compilation I assume. ROS consists of much more than Python packages.
Also: what made you think
rosmake
was required / involved in all of this?Yes, I did. This solution is appropriate for single workspace but it is not for dozens. I think it could be very good solution to recompile .debs of shared ROS packages on our SPARC machines. Is here a tutorial to obtain .debs from source?