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

Error in hydro

asked 2014-08-04 05:49:09 -0500

Moda gravatar image

updated 2014-08-04 06:54:38 -0500

I have just reinstall my distro hydro. And I can't catkin_make It said that the order is not found What is the issue? I'm in Ubuntu 12.04

edit retag flag offensive close merge delete

Comments

please post the error. did you forgot source /opt/ros/hydro/setup.bash ?

bvbdort gravatar image bvbdort  ( 2014-08-04 06:04:13 -0500 )edit

No i did not forget. It said that the file /opt/ros/hydro/setup.bash doesn't exist

Moda gravatar image Moda  ( 2014-08-04 06:10:52 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-08-04 06:04:19 -0500

ROSkinect gravatar image

updated 2014-08-04 08:17:54 -0500

you need to create your catkin workspaces (be sure that you are in regular user not the root user; if not type exit) :

$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ catkin_init_workspace
$ catkin_make
$ source devel/setup.bash
edit flag offensive delete link more

Comments

It says that catkin_init_workspace command not found

Moda gravatar image Moda  ( 2014-08-04 06:09:31 -0500 )edit

probably you create the catkin as root user !

ROSkinect gravatar image ROSkinect  ( 2014-08-04 06:14:12 -0500 )edit

So what should i do?

Moda gravatar image Moda  ( 2014-08-04 06:54:18 -0500 )edit

type "exit" if you are root user and then try to create your workspaces (it will be as regular user)

ROSkinect gravatar image ROSkinect  ( 2014-08-04 07:04:25 -0500 )edit

But is there a link with the fact that in my folder /opt/ros/hydro there is no file setup.bash?

Moda gravatar image Moda  ( 2014-08-04 07:05:19 -0500 )edit

so you didn't re install ROS correctly, try this echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc and source ~/.bashrc then source /opt/ros/hydro/setup.bash

ROSkinect gravatar image ROSkinect  ( 2014-08-04 07:12:00 -0500 )edit

It doesn't work! when i launch echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc it says that the file opt/ros/hydro/setup.bash doen't exist

Moda gravatar image Moda  ( 2014-08-04 07:12:21 -0500 )edit

so you should re install it: http://wiki.ros.org/hydro/Installation/Ubuntu .....follow all the instruction in this link and then move to this 4.Create a ROS Workspace : http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment ....and then tell me if it works or not

ROSkinect gravatar image ROSkinect  ( 2014-08-04 07:26:04 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-08-04 05:49:09 -0500

Seen: 571 times

Last updated: Aug 04 '14