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 know this question is over a year old now but I want to add my solution for future users who also have to struggle with 32 bit libraries.

I added the -m32 compile and link flag to the target properties. Doing this my node gets compiled to 32 bit architecture. In order to communicate with the rest of the ROS system I have to provide the 32 bit ROS libraries by my own. These libraries also have to be linked explicitly and the ${catkin_LIBRARIES} have to be removed from the target_link_libraries function. I placed these libraries in a lib directory inside my package.

The remaining system dependencies can be installed with sudo apt-get install <dependency>:i386. For the ROS packages this did not work somehow.

My node runs without any problems in connection with other ROS nodes.

I don't feel that well with this solution but I can't force my 3rd party library vendor to publish 62 bit Linux libraries.