Unable to access 'stacks' folder
The output of my
echo $ROS_PACKAE_PATH
is
/opt/ros/hydro/share:/opt/ros/hydro/stacks
But when i try to do this:
cd opt/ros/hydro/stacks
it gives the following error:
bash: cd: opt/ros/hydro/stacks: No such file or directory
Although i can access the 'share' folder using
cd opt/ros/hydro/share
Why cant i access the 'stacks' folder? i have to clone a repository from git and i need to cd into this 'stacks' folder. I'm using Ubuntu 12.04 & ROS Hydro.
Asked by Asaad Irfan on 2015-09-05 10:10:47 UTC
Answers
Why cant i access the 'stacks' folder?
Probably because it doesn't exist on your machine. It's a remnant from older ROS versions, so not always needed.
i have to clone a repository from git and i need to cd into this 'stacks' folder.
This sounds like outdated instructions: normal ROS packages (for anything recent) don't work that way anymore.
Can you tell us which package(s) you are trying to work with? Perhaps something needs to be changed.
Asked by gvdhoorn on 2015-09-05 10:35:01 UTC
Comments
i'm trying to clone this repository: https://github.com/noumantahir/idris_home_league/
Asked by Asaad Irfan on 2015-09-05 10:46:39 UTC
Those all seem to be catkin pkgs. Why do you think it is necessary to "cd into this 'stacks' folder"? Just setup a normal catkin workspace, clone the repository into the src
dir and build.
Asked by gvdhoorn on 2015-09-05 11:05:36 UTC
I did exactly that once i couldnt find 'stacks'. i thought it necessary because the tutorials on internet were all referring to this 'stacks' folder.
Asked by Asaad Irfan on 2015-09-05 11:18:59 UTC
"all tutorials on the internet"? Can't help you there, but for normal catkin pkgs you should not do anthing in the stacks
directory.
Asked by gvdhoorn on 2015-09-05 11:35:36 UTC
do not clone the repository in stacks folder...cd to your ros workspace and clone it there. Example:
cd catkin_ws/src
git clone <address>
Asked by Nouman Tahir on 2015-09-06 00:28:37 UTC
Thats what i did. Now the error i'm getting is Invoking cmake failed
when i try to catkin_make
in the root of my directory.
Asked by Asaad Irfan on 2015-09-06 02:35:56 UTC
@Asaad Irfan: please don't delete questions once they're answered.
As to your new problem: please open a new question if you need any more assistance. But be sure to first search ROS Answers to see whether it has been answered before.
Asked by gvdhoorn on 2015-09-06 03:38:18 UTC
ok. I didnt meant to delete it. it was by mistake. The question is still visible so i guess everything's ok.
Asked by Asaad Irfan on 2015-09-06 09:28:41 UTC
Comments