ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

How to use catkin to cross compile and ignore python

asked 2013-11-01 08:37:52 -0500

Chad Rockey gravatar image

updated 2014-01-28 17:18:25 -0500

ngrennan gravatar image

I'm working on cross compiling to an ARM platform that doesn't have python.

Is there a way to specify catkin to ignore all catkin_python_setup() calls?

As well it can't find the PythonInterp and I guess I can set that through the environment variable for my host machine, but the target won't have python.

I'm hoping to be able to compile ros packages that contain python nodes and dependencies on rospy but functionally ignore them through the process, even if they tag along and are present in the installed files for now.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-11-01 09:34:37 -0500

William gravatar image

Not that I am aware of.

You could override the catkin_python_setup macro with an empty version in your CMake toolchain file. But that might not work depending on the order of of evaluation in CMake, which I'm not sure about. In which case you would just need to fork catkin and disable that macro.

If you want a CMake option to do that then I would open a pull request against catkin.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-11-01 08:37:52 -0500

Seen: 432 times

Last updated: Nov 01 '13