-
Notifications
You must be signed in to change notification settings - Fork 125
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
Building interfaces without Python support #354
Comments
|
Are you cross-compiling for a target system that cannot run python, or cross-compiling on a build machine that does not have python installed? |
@sloretz sorry it was not clear. I'm cross-compiling for a target system that cannot run python |
It seems like this should be possible. Are you aware of https://index.ros.org/doc/ros2/Tutorials/Cross-compilation/ ? If that tutorial is different from the instructions you're following, does the tutorial work for you? |
I'm doing something very similar to the cross-compilation tutorial. The only difference I have is that my sysroot only contains a very minimal set of dependencies.
Should we move this discussion to cross-compilation? |
@sloretz you were right, with Thank you. We can close this. |
Is there a way to disable the python generator in CMake to speed up package build time? Building px4_msgs takes over an hour on CI. |
Bug report
Before this PR #346, which introduced parsing of IDL format, I was able to cross-compile ROS2 for platforms which do not have Python3 or any Python dependency installed.
I was basically following the instructions in ros2-for-arm/ros2#5 (comment) updated to the current packages structure
Unfortunately it looks like this is not working anymore since the latest updates.
When I try to build the ROS2 SDK, the cross-compilation fails as soon as I reach some the
builtin_interfaces
lark
is obviously not present in my sysroot, but, before this change, I was able to build everything without using therosidl_parser/parser.py
script.In order to make the cross-compilation of the ros2 master succeed, I had to revert the following packages to the commit previous to the aforementioned PR
rosidl
rosidl_typesupport
rosidl_typesupport_fastrtps
Is it possible with the new update to keep building ROS2 without using
lark
or other python dependencies?Thank you
The text was updated successfully, but these errors were encountered: