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

catkin_make won't recognise ROS Package

asked 2016-11-11 09:07:35 -0600

cluelessnigerian gravatar image

updated 2022-01-22 16:16:33 -0600

Evgeny gravatar image

Hi, I'm new to ROS and I've been trying to check out the package at the following link: https://github.com/dimatura/loam_cont... . I've cloned it to my catkin workspace but when I try to build the package using

catkin_make

it doesn't seem to recognise the package. This is my output:

-- Using CATKIN_DEVEL_PREFIX: /home/daniel/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/daniel/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.4
-- BUILD_SHARED_LIBS is on
-- Configuring done
-- Generating done
-- Build files have been written to: /home/daniel/catkin_ws/build

Am I doing something wrong? Could someone please point me in the right direction?

edit retag flag offensive close merge delete

Comments

Just making sure: the package is in the /home/daniel/catkin_ws/src directory?

gvdhoorn gravatar image gvdhoorn  ( 2016-11-11 09:08:54 -0600 )edit

Yes it is.

cluelessnigerian gravatar image cluelessnigerian  ( 2016-11-11 09:09:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-11-11 09:28:30 -0600

gvdhoorn gravatar image

updated 2016-11-11 09:52:26 -0600

The repository you linked to is not a Catkin package, but a rosbuild one. You cannot build it using catkin_make. Only rosmake will work.

You either have to find a catkinized version of the package, or build it in a rosbuild workspace.

Note also that the readme explicitly states:

The program is tested on ROS Fuerte

So apart from the build system, there might be some issues with the code / functionality itself when trying to run it on Kinetic.

edit flag offensive delete link more

Comments

Thanks, that makes sense now. I was wondering what rosmake was referring to as I'd never come across in all the tutorials I'd come across

cluelessnigerian gravatar image cluelessnigerian  ( 2016-11-11 09:55:32 -0600 )edit

Question Tools

Stats

Asked: 2016-11-11 09:07:35 -0600

Seen: 325 times

Last updated: Nov 11 '16