ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Windows: install roscpp

asked 2019-05-16 16:14:57 -0600

rosi gravatar image

updated 2022-06-11 08:58:46 -0600

lucasw gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-05-16 18:48:49 -0600

OoeyGUI gravatar image

updated 2019-05-16 19:09:17 -0600

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.

edit flag offensive delete link more

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.

rosi gravatar image rosi  ( 2019-05-17 04:31:37 -0600 )edit

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)

OoeyGUI gravatar image OoeyGUI  ( 2019-05-17 17:41:48 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2019-05-16 16:14:57 -0600

Seen: 564 times

Last updated: May 17 '19