ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
1

How to use catkin to cross compile and ignore python

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

Chad Rockey gravatar image

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

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 289 times

Last updated: Nov 01 '13