Warnings and errors ROS2 installation and examples on Windows 10

asked 2019-03-31 05:17:43 -0600

Random Orange gravatar image

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.

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

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

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

  4. 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/tlsf_cpp/local_setup.bat"

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

Errors when building ROS2 examples from ROS2 colcon tutorial

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

Starting >>> examples_rclcpp_minimal_action_client

Starting >>> examples_rclcpp_minimal_action_server

Starting >>> examples_rclcpp_minimal_client

Starting >>> examples_rclcpp_minimal_composition

Starting >>> examples_rclcpp_minimal_publisher

Starting >>> examples_rclcpp_minimal_service

Starting >>> examples_rclcpp_minimal_subscriber

Starting >>> examples_rclcpp_minimal_timer Failed
<<< examples_rclcpp_minimal_client
[ Exited with code 1 ]

Aborted <<< examples_rclcpp_minimal_service

Aborted <<< examples_rclcpp_minimal_action_server

Aborted <<< examples_rclcpp_minimal_timer Aborted <<< examples_rclcpp_minimal_subscriber

Aborted <<< examples_rclcpp_minimal_publisher

Aborted <<< examples_rclcpp_minimal_composition

Aborted <<< examples_rclcpp_minimal_action_client

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 <<< examples_rclcpp_minimal_action_client [ Exited with code 1 ]

Aborted <<< examples_rclpy_minimal_service

Aborted <<< examples_rclpy_minimal_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.

edit retag flag offensive close merge delete