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

Cannot catkin_make example from Tutorials

asked 2016-01-30 14:16:55 -0600

user23fj239 gravatar image

updated 2016-10-24 09:06:51 -0600

ngrennan gravatar image

I used my fresh knowledge from package form format to extend basics of catkins cmakelist.txt and package.xml Is there anything principally wrong with it or is all right. It does work with catkin_make

I use this CMakeLits and package.xml.txt. I would be glad if someone could have a look at it and tell if any mistakes in it

Edit: So i got the general order, but where to place this, it feels like deadlock: How to add when it needs to be exported?

add_library(my_test_lib ${MY_TEST_LIB_SRC})

    CATKIN_DEPENDS #catkin packages
    #DEPENDS Boost  #other libs
    #INCLUDE_DIRS include   #my headers
    LIBRARIES my_test_lib #my exported libs from the project
    #CFG_EXTRAS - Additional configuration options 
edit retag flag offensive close merge delete


gvdhoorn gravatar image gvdhoorn  ( 2016-01-31 01:58:55 -0600 )edit

Don't post answers if you're not answering your own question. If you want to update your question (to provide us with more information fi), then please use the edit button/link.

gvdhoorn gravatar image gvdhoorn  ( 2016-01-31 11:22:58 -0600 )edit

re: deadlock: there is no deadlock. As the documentation states, just add all your add_library(..) and add_executable(..) statements after the catkin_package(..) statement.

gvdhoorn gravatar image gvdhoorn  ( 2016-01-31 11:23:49 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-30 18:57:04 -0600

ahendrix gravatar image

The only obvious thing that I would warn you about is the ordering; see my answer to:

The ordering requirement is the last item on this page: and is also documented on the wiki:

edit flag offensive delete link more

Question Tools


Asked: 2016-01-30 14:16:55 -0600

Seen: 140 times

Last updated: Jan 31 '16