Goal: I intend to install ROS2 Dashing on Windows. I am building from source following the instructions in https://index.ros.org/doc/ros2/Installation/Dashing/Windows-Development-Setup/.
Issue: When running colcon build --merge-install
from the Visual Studio Developer Command Prompt each package starts to be built. However, it fails on the same error:
--- stderr: <package>
CMake Error at CMakeLists.txt:2 (project):
Generator
Visual Studio 16 2019
could not find any instance of Visual Studio.
I have added an AMENT_IGNORE
file to each package to see if the problem is with an individual package, but the error is occuring in every package.
Thank you in advance for any assistance.
Originally posted by Tav_PG on ROS Answers with karma: 28 on 2019-10-02
Post score: 0
Original comments
Comment by cangyin on 2019-12-29:
I am also struggling on similar problem, hope this will help:
https://stackoverflow.com/questions/51668676/cmake-visual-studio-15-2017-could-not-find-any-instance-of-visual-studio