Ask Your Question
0

How to identify if a dependency is run time or build dependency? [closed]

asked 2016-07-13 13:52:34 -0500

skr_robo gravatar image

I am creating a package to subscribe to a topic from a node in another package. I understand that the only dependency required is the message package. Is this a run time or build dependency?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by skr_robo
close date 2016-07-14 10:34:21.624761

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-07-13 14:10:10 -0500

ahendrix gravatar image

updated 2016-07-13 14:10:54 -0500

Are you using the messages when you build your code? If yes, they're a build dependency.

Are you using the messages when you run your code? If yes, they're a run-time dependency.

It is perfectly fine to have a package as both a build and run-time dependency.

This question and answer has a more in-depth discussion: http://answers.ros.org/question/23890...

edit flag offensive delete link more

Comments

Also worth mentioning REP 140 "Package Manifest Format Two Specification". Has some nice explanations and of course introduces new tags.

spmaniato gravatar image spmaniato  ( 2016-07-13 17:44:31 -0500 )edit

Thank You, both of you.

skr_robo gravatar image skr_robo  ( 2016-07-14 10:35:12 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-07-13 13:52:34 -0500

Seen: 110 times

Last updated: Jul 13 '16