Rospack find problems
I am at the point that I may have to uninstall and reinstall ROS. I had ROS working fine, but now I am having some problems. When I try to run rospack find roscpp
this is what I get:
leaf@leaf:~/catkin_ws$ rospack find cpp
[rospack] Warning: error while looking for /opt/ros/hydro/share/cmake_modules/CATKIN_IGNORE: boost::filesystem::status: Permission denied: "/opt/ros/hydro/share/cmake_modules/CATKIN_IGNORE"
[rospack] Warning: error while crawling /opt/ros/hydro/share/cmake_modules: boost::filesystem::directory_iterator::construct: Permission denied: "/opt/ros/hydro/share/cmake_modules"
[rospack] Warning: error while looking for /opt/ros/hydro/share/cmake_modules/rospack_nosubdirs: boost::filesystem::status: Permission denied: "/opt/ros/hydro/share/cmake_modules/rospack_nosubdirs"
[rospack] Warning: error while looking for /opt/ros/hydro/share/cmake_modules/manifest.xml: boost::filesystem::status: Permission denied: "/opt/ros/hydro/share/cmake_modules/manifest.xml"
[rospack] Warning: error while crawling /opt/ros/hydro/share/cmake_modules: boost::filesystem::directory_iterator::construct: Permission denied: "/opt/ros/hydro/share/cmake_modules"
[rospack] Warning: error while looking for /opt/ros/hydro/share/cmake_modules/CATKIN_IGNORE: boost::filesystem::status: Permission denied: "/opt/ros/hydro/share/cmake_modules/CATKIN_IGNORE"
[rospack] Warning: error while crawling /opt/ros/hydro/share/cmake_modules: boost::filesystem::directory_iterator::construct: Permission denied: "/opt/ros/hydro/share/cmake_modules"
[rospack] Warning: error while looking for /opt/ros/hydro/share/cmake_modules/rospack_nosubdirs: boost::filesystem::status: Permission denied: "/opt/ros/hydro/share/cmake_modules/rospack_nosubdirs"
[rospack] Warning: error while looking for /opt/ros/hydro/share/cmake_modules/manifest.xml: boost::filesystem::status: Permission denied: "/opt/ros/hydro/share/cmake_modules/manifest.xml"
[rospack] Warning: error while crawling /opt/ros/hydro/share/cmake_modules: boost::filesystem::directory_iterator::construct: Permission denied: "/opt/ros/hydro/share/cmake_modules"
[rospack] Error: stack/package cpp not found
But I get this when I :
leaf@leaf:~$ roscd roscpp
leaf@leaf:/opt/ros/hydro/share/roscpp$
My path looks ok :
leaf@leaf:~$ echo $ROS_PACKAGE_PATH
/home/leaf/catkin_ws/src:/opt/ros/hydro/share:/opt/ros/hydro/stacks
Any help would be much appreciated.
In addition to what @ahendrix asked, could you perhaps also think about what you changed (recently)? Did you install any additional packages? Did you do anything with
cmake_modules
you shouldn't have? Etc.Also: you write you want to
rospack find roscpp
, but the error output you copy/pasted shows you ranrospack find cpp
(note the missingros
prefix oncpp
).