Ask Your Question
0

Create new another workspace

asked 2017-04-30 06:37:40 -0500

Robotics2233 gravatar image

I'm trying to create another workspace alongside with current existing one. I have a working workspace named 'catkin_ws' my new workspace is 'reemron_ws'

when i do cd ~/reemron_ws and type catkin_make I'm getting the error:

The specified base path "/home/lizi/reemron_ws" contains a CMakeLists.txt but "catkin_make" must be invoked in the root of workspace

I pay attention that the CMakeList.txt in my new workspace is linked to other file. This is the output of ls -l (in reemron_ws folder) lrwxrwxrwx 1 lizi lizi 49 Apr 30 14:07 CMakeLists.txt -> /opt/ros/indigo/share/catkin/cmake/toplevel.cmake

I know the error says that catkin_make must run from the root of the workspace but I'm at the root of the workspace. And suggestions?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-30 07:08:49 -0500

Robotics2233 gravatar image

The problem was i run the command:

catkin_init_workspace

at the root of the workspace instead at /src

I delete the folder and create again and its OK.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-04-30 06:37:40 -0500

Seen: 116 times

Last updated: Apr 30 '17