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

Is there a rclcpp.lib for Win32 projects?

asked 2018-05-13 07:37:06 -0600

mk gravatar image

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

edit retag flag offensive close merge delete

Comments

1

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.

gvdhoorn gravatar image gvdhoorn  ( 2018-05-13 08:20:36 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-05-13 12:40:21 -0600

tfoote gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-05-13 07:37:06 -0600

Seen: 214 times

Last updated: May 13 '18