Robotics StackExchange | Archived questions

Warnings and errors ROS2 installation and examples on Windows 10

Hi,

I was able to successfully install ROS2 on Windows 10 by building from source. However, I had the following warnings which I would like to resolve.

Starting >>> ros2launch --- stderr: testlaunchros warning: installlib: 'C:\dev\ros2\build\testlaunch_ros\build\lib' does not exist -- no Python modules to install

  1. Starting >>> rvizdefaultplugins --- stderr: rqt warning: install_lib: 'C:\dev\ros2\build\rqt\build\lib' does not exist -- no Python modules to install

  2. --- stderr: ros1_bridge CMake Warning at CMakeLists.txt:33 (message):
    Failed to find ROS 1 roscpp, skipping...

  3. Few of the other packages were not installed as well. I checked the log files and it was mentioned that these packages are not available for Windows. Is there a way to remove the following warnings when calling the local_setup.bat file.

    not found: "C:\dev\ros2\install\share/rttest/local_setup.bat"

    not found: "C:\dev\ros2\install\share/tlsf/local_setup.bat"

    not found: "C:\dev\ros2\install\share/tlsfcpp/localsetup.bat"

    not found: "C:\dev\ros2\install\share/pendulumcontrol/localsetup.bat"

Errors when building ROS2 examples from ROS2 colcon tutorial

C:\Users\agrsa\Documents\ros2examplews>colcon build --symlink-install

Starting >>> examplesrclcppminimalactionclient

Starting >>> examplesrclcppminimalactionserver

Starting >>> examplesrclcppminimal_client

Starting >>> examplesrclcppminimal_composition

Starting >>> examplesrclcppminimal_publisher

Starting >>> examplesrclcppminimal_service

Starting >>> examplesrclcppminimal_subscriber

Starting >>> examplesrclcppminimaltimer Failed
<<< examples
rclcppminimalclient
[ Exited with code 1 ]

Aborted <<< examplesrclcppminimal_service

Aborted <<< examplesrclcppminimalactionserver

Aborted <<< examplesrclcppminimaltimer Aborted <<< examplesrclcppminimalsubscriber

Aborted <<< examplesrclcppminimal_publisher

Aborted <<< examplesrclcppminimal_composition

Aborted <<< examplesrclcppminimalactionclient

I checked the log file and it says "operation not permitted". These are just demo and located in the Documents folder. Why do I need to run them with Administrative Privileges? Isn't it like running everything with sudo and considered bad practice?

Nevertheless, I tried Running as Admin and the following package did not compile:

Failed <<< examplesrclcppminimalactionclient [ Exited with code 1 ]

Aborted <<< examplesrclpyminimal_service

Aborted <<< examplesrclpyminimal_subscriber

ROS2: Crystal Clemmys Windows 10 Visual Studio 2017

Any hint or direction to what I am doing wrong and how can I fix it will be helpful.

Asked by Random Orange on 2019-03-31 05:17:43 UTC

Comments

Answers