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

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

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

Feitanyu gravatar image

updated 2023-06-18 09:51:38 -0500

lucasw 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 image ahendrix  ( 2016-04-07 21:19:05 -0500 )edit

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

Feitanyu gravatar image Feitanyu  ( 2016-04-11 02:50:01 -0500 )edit

2 Answers

Sort by » oldest newest most voted
0

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

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 image Feitanyu  ( 2016-04-11 02:47:21 -0500 )edit
0

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

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 image Feitanyu  ( 2016-04-11 02:48:47 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 3,122 times

Last updated: Apr 08 '16