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

Revision history [back]

click to hide/show revision 1
initial version

I ran into a similar issue, cross compiling ROS2 Dashing for raspbian.

My problem was indeed, that the PYTHON_SOABI variable was wrong, because I copy&pasted it from the official instructions. I needed to specify the Python version to the one on raspbian, which is Python 3.5. The variable I had to export needed to be renamed to: cpython-35m-$TARGET_TRIPLE (with TARGET_TRIPLE=arm-linux-gnueabihf) . Look at the 35m part, this number corresponds to the python version which in my case, I had to adjust.

So check your Python version on your target machine: python3 -V at set the variable correct: export PYTHON_SOABI=cpython-35m-$TARGET_TRIPLE

I ran into a similar issue, cross compiling ROS2 Dashing for raspbian.

My problem was indeed, that the PYTHON_SOABI variable was wrong, because I copy&pasted it from the official instructions. I needed to specify the Python version to the one on raspbian, which is Python 3.5. The variable I had to export needed to be renamed to: cpython-35m-$TARGET_TRIPLE (with TARGET_TRIPLE=arm-linux-gnueabihf) . Look at the 35m part, this number corresponds to the python version which in my case, I had to adjust.

So check your Python version on your target machine: python3 -V at and set the variable correct: correctly: export PYTHON_SOABI=cpython-35m-$TARGET_TRIPLE