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

How to change rospack cache directory after install on Windows 10

asked 2020-04-08 12:00:40 -0500

gaspard_bourgeois gravatar image

updated 2020-04-08 12:44:56 -0500

gvdhoorn gravatar image

I follow this tutorial to install ROS for windows, I also manually install vcpkg to finish the install like explained here.

Rospack has some problems creating cache. It is not using the cache directory located in C:\Users\user_name\.ros

c:\catkin_ws>rospack profile
[rospack] Warning: cannot create rospack cache directory W:\.ros: boost::filesystem::create_directory: Le chemin dÆaccÞs spÚcifiÚ est introuvable: "W:\.ros"
[rospack] Unable open cache file W:\.ros\\.rospack_cache.a15400: No such file or directory
Full tree crawl took 0.110671 seconds.
Directories marked with (*) contain no manifest.  You may
want to delete these directories.
To get just of list of directories without manifests,
re-run the profile with --zombie-only
-------------------------------------------------------------
0.099701   C:\opt\ros\melodic\x64\share
0.002990   C:/catkin_ws/src
0.001992   C:/catkin_ws/src\ros_tutorials
0.000000 * C:\opt\ros\melodic\x64\share\doc\liborocos-kdl
0.000000 * C:\opt\ros\melodic\x64\share\doc

Are they any solution to solve this issue ?

Thanks, Gaspard

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-04-08 12:12:33 -0500

gaspard_bourgeois gravatar image

updated 2020-04-08 12:18:05 -0500

I temporarly solved this issue changing the ROS_HOME variable :

set ROS_HOME=C:\Users\user_name\.ros to change its value in the console

setX ROS_HOME C:\Users\user_name\.ros to change permently its value

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-04-08 12:00:40 -0500

Seen: 602 times

Last updated: Apr 08 '20