Ask Your Question
0

Can't find the '~/catkin_ws/src/'

asked 2016-04-07 20:53:28 -0600

Feitanyu gravatar image

I get a package from github, it called me to cd the directory "~/catkin_ws/src/" to build it ,but in my computer the "/catkin_ws/src/" is "/opt/ros/indigo/~/catkin_ws/src", and it can't been built.........

edit retag flag offensive close merge delete

Comments

Which package? Which instructions or commands did you follow to download it? If you didn't download the source in ~/catkin_ws/src, where did you download it to?

ahendrix gravatar imageahendrix ( 2016-04-07 21:19:05 -0600 )edit

I go to the website to download, not from the terminal. I have solved the question, and thanks for your attention.

Feitanyu gravatar imageFeitanyu ( 2016-04-11 02:50:01 -0600 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2016-04-08 09:54:06 -0600

wassimhariri gravatar image

if you mean build that you want to catkin_make, you cant do that in the src, you simply use the command cd.. (to go to catkin_ws) and then catkin_make

if you mean you want to clone a package from github, just create your own workspace (catkin_ws) in your home directory of course with the src, and then follow the instructions in the link you are provided with, dont rely on opt/ros/indigo... just go for your own workspace and explore the packages.

edit flag offensive delete link more

Comments

Thank you.

Feitanyu gravatar imageFeitanyu ( 2016-04-11 02:48:47 -0600 )edit
0

answered 2016-04-08 15:04:45 -0600

Follow this tutorial and it will show you how to make and configure the catkin workspace, which is generally ~/catkin_ws

edit flag offensive delete link more

Comments

Thank you.

Feitanyu gravatar imageFeitanyu ( 2016-04-11 02:47:21 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-04-07 20:53:28 -0600

Seen: 817 times

Last updated: Apr 08 '16