Robotics StackExchange | Archived questions

Windows: install roscpp

Hello,

I have started with ROS on Windows today, and when I follow the tutorial and execute

rospack find roscpp

I get back the following:

[rospack] Error: package 'roscpp' not found

How can I install roscpp on Windows?

Asked by rosi on 2019-05-16 16:14:57 UTC

Comments

Answers

Hi there,

Just to verify - Every time you open a command window, you'll need to call c:\opt\ros\melodic\x64\setup.bat.

If the above does not solve the problem, could you post your chocolatey log? It is located c:\programdata\chocolatey\logs\chocolatey.log.

We have seen cases where rosdep times out , and trying to determine how widespread that is.

Asked by OoeyGUI on 2019-05-16 18:48:49 UTC

Comments

Hi,

actually I think there is not an installation problem: A few hours before the command worked, but at a later time it stopped working. I have attached the call to the shortcut, so yes it has been executed.

Asked by rosi on 2019-05-17 04:31:37 UTC

Could you post the output of set ros in the command window. It should look something like this: ROS_DISTRO=melodic

ROS_ETC_DIR=C:/opt/ros/melodic/x64/etc/ros

ROS_MASTER_URI=http://localhost:11311

ROS_PACKAGE_PATH=C:\opt\ros\melodic\x64\share

ROS_PYTHON_VERSION=2

ROS_ROOT=C:/opt/ros/melodic/x64/share/ros

ROS_VERSION=1

(Although we are switching localhost to 127.0.0.1 for performance reasons)

Asked by OoeyGUI on 2019-05-17 17:41:48 UTC