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

Cross compiling ROS Barebones on ARM for QNX

asked 2017-06-21 13:19:34 -0600

mhariharasudan gravatar image

updated 2017-06-22 04:26:06 -0600

gvdhoorn gravatar image

Hello,

I have a toolchain installed for QNX 7 and I followed the instructions here to cross compile it. The environment variables are all set to the QNX libraries which are set by a toolchain. This is on Ubuntu 16.04 for ROS Kinetic barebones install.

When I run this command from my catkin_workspace I get the following error,

-- Using Python nosetests: /usr/bin/nosetests
/opt/qnx/install/target/qnx7/armle-v7/usr/bin/python: 1: /opt/qnx/install/target/qnx7/armle-v7/usr/bin/python: Syntax error: word unexpected (expecting ")")
CMake Error at cmake/safe_execute_process.cmake:11 (message):
  execute_process(/opt/qnx/install/target/qnx7/armle-v7/usr/bin/python
  "/opt/qnx/install/ros_catkin_ws/src/catkin/cmake/parse_package_xml.py"
  "/opt/qnx/install/ros_catkin_ws/src/catkin/cmake/../package.xml"
  "/opt/qnx/install/ros_catkin_ws/build_isolated/catkin/catkin/catkin_generated/version/package.cmake")
  returned error code 2

I need to use only the message publisher/subscriber of ros for my application.

Any inputs or ideas would be hghly appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-06-22 06:38:29 -0600

duck-development gravatar image

Is

opt/qnx/install/target/qnx7/armle-v7/usr/bin/python

this the path to your python? And if you run the code an your dev(x64) machine then this should show to your local python not the arm python interpreter.

edit flag offensive delete link more

Comments

Thank you! That fixed the issue

mhariharasudan gravatar image mhariharasudan  ( 2017-06-22 12:58:15 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-06-21 13:19:34 -0600

Seen: 630 times

Last updated: Jun 22 '17