ros2 source install on windows
I am trying to install ros2 from source on windows and am having some trouble; I followed the instructions here and then ran the following to build from master
> cd \dev\ros2_master
> curl -sk https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos -o ros2.repos
> vcs import src < ros2.repos
> colcon build --merge-install --packages-up-to rosbag2
Currently, I just want to build until rosbag2. However, running the build command throws the following Cmake warnings for a lot of packages
CMake Warning at C:/dev/ros2_master/install/share/ament_cmake_pytest/cmake/ament_add_pytest_test.cmake:77 (message):
The Python module 'pytest' was not found, pytests can not be run (e.g. on
Ubuntu/Debian install the package 'python3-pytest')
Call Stack (most recent call first):
CMakeLists.txt:256 (ament_add_pytest_test)
After build:
Summary: 128 packages finished [6min 17s]
1 package failed: rosbag2_storage_default_plugins
8 packages had stderr output: rclpy rmw_connext_cpp rmw_connext_shared_cpp rosidl_adapter rosidl_generator_py rosidl_parser rosidl_typesupport_connext_c rosidl_typesupport_connext_cpp
7 packages not processed
Not really sure why the pytest
module cannot be found.
I then created another workspace with code from foxy
and was able to build that successfully. Why might this be happening in master?
OS Name: Microsoft Windows Server 2019 Datacenter