Skip to content

Build error on Windows 10 with Visual Studio 2019 #113

@mefoster

Description

@mefoster

I have installed ROS 2 on my Windows 10 machine and have downloaded the latest ros2-java (checked out everything with vcs)

I am trying to build as follows:
C:\dev\ament_ws>python src/ament/ament_tools/scripts/ament.py build
I get the following error (horizontal lines removed because they mess with markdown):

Process package 'ament_cmake_core' with context:
 source_space => C:\dev\ament_ws\src\ament\ament_cmake\ament_cmake_core
  build_space => C:\dev\ament_ws\build\ament_cmake_core
install_space => C:\dev\ament_ws\install
   make_flags => -j8, -l8
  build_tests => False
+++ Building 'ament_cmake_core'
ament build: Unknown / unsupported VS version: 16.0

Any suggestions on where to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions