Robotics StackExchange | Archived questions

Is there a rclcpp.lib for Win32 projects?

I am trying to create a ros node to subscribe to a topic in a visiual studio project which is (Release and Win32) but I got this error

Severity Code Description Project File Line Suppression State Error LNK1112 module machine type 'x64' conflicts with target machine type 'X86' Cooperation C:\Maram\ros2\build\approach\rclcpp.lib(rclcpp.dll) 1

do you have any idea how I can solve this problem ??

P.S I can't change visual studio project to x64, it has alot of other external libraries which is 32

Asked by mk on 2018-05-13 07:37:06 UTC

Comments

This appears to be a cross-post of Rclcpp.lib for win32 visual studio project on ROS Discourse.

Could I ask you to please not do that?

I'm fairly certain you'll receive a "please ask this on ROS Answers" response there.

Asked by gvdhoorn on 2018-05-13 08:20:36 UTC

Answers

From @marguedas

ROS2 targets only 64 bits systems at the moment so there is no libraries built for 32 bits system. You could try to build the ROS 2 stack from source in 32bits, but as we never tried it you may face several challenges along the way.

Asked by tfoote on 2018-05-13 12:40:21 UTC

Comments