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

Unable to access 'stacks' folder [closed]

asked 2015-09-05 10:10:47 -0500

Asaad Irfan gravatar image

updated 2015-09-05 10:12:53 -0500

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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Asaad Irfan
close date 2015-09-05 11:29:53.096407

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-09-05 10:35:01 -0500

gvdhoorn gravatar image

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.

edit flag offensive delete link more

Comments

i'm trying to clone this repository: https://github.com/noumantahir/idris_...

Asaad Irfan gravatar image Asaad Irfan  ( 2015-09-05 10:46:39 -0500 )edit

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.

gvdhoorn gravatar image gvdhoorn  ( 2015-09-05 11:05:36 -0500 )edit

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.

Asaad Irfan gravatar image Asaad Irfan  ( 2015-09-05 11:18:59 -0500 )edit
1

"all tutorials on the internet"? Can't help you there, but for normal catkin pkgs you should not do anthing in the stacks directory.

gvdhoorn gravatar image gvdhoorn  ( 2015-09-05 11:35:36 -0500 )edit
1

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>
Nouman Tahir gravatar image Nouman Tahir  ( 2015-09-06 00:28:37 -0500 )edit

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.

Asaad Irfan gravatar image Asaad Irfan  ( 2015-09-06 02:35:56 -0500 )edit
1

@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.

gvdhoorn gravatar image gvdhoorn  ( 2015-09-06 03:38:18 -0500 )edit

ok. I didnt meant to delete it. it was by mistake. The question is still visible so i guess everything's ok.

Asaad Irfan gravatar image Asaad Irfan  ( 2015-09-06 09:28:41 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-09-05 10:10:47 -0500

Seen: 281 times

Last updated: Sep 05 '15