ROS2 for Win32 (x86): How to make colcon call cmake without "Win64"?
Hi,
for a couple of days now, I've been trying to compile ROS2 for x86 under Windows. Because of other dependecies, I can't use x64. I tried a lot of stuff on my Windows 10 64bit machine that didn't work (i.e. recompile all necessary stuff for x86 and so on).
Now I'm working in a vanilla Windows 10 32bit VM and one problem seems to be, that I colcon always calls cmake with "Visual Studio 15 2017 Win64" and I can't change that. I tried calling colcon witn "--cmake-args -DCMAKE_CXX_FLAGS=-m32" which did not work either.
What I did on the vanilla Win10 32bit VM:
- install all prerequisites in: https://index.ros.org/doc/ros2/Instal...
- do all the steps from here: https://index.ros.org/doc/ros2/Instal...
- (of course I installed 32bit versions of OpenSSL, Qt, and compiled a 32bit version of OpenCV).
My questions are:
- What is the best way to compile ROS2 for Win32?
- How do I make colcon call cmake with "Visual Studio 15 2017" without "Win64"?
Thank you very much
Marossa