Ask Your Question
0

Retrieve catkin build artificat path

asked 2016-01-21 10:45:22 -0500

LiohAu gravatar image

Hello,

I'm building my first C++ ROS static library using Catkin, and I would like to link that library into an existing application which is being built with a Makefile. So I would like to know if there is a way to use a ROS or Catkin command to retrieve the path of the built library and so I will not have to hardcode the path of the library in the -L flag.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-01-22 03:28:55 -0500

Dimitri Schachmann gravatar image

I think catkin_find is what you are looking at. catkin_find --help will tell you how to use it.

edit flag offensive delete link more

Comments

catkin_find --lib --first-only seems to be what I was looking for, even if I have to source my workspace setup.bash from my Makefile first :( One more question, my devel/ folder contains the "lib" directory, but no "include" directory, any idea of why my library .h are not being copied ?

LiohAu gravatar image LiohAu  ( 2016-01-22 04:01:38 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-01-21 10:45:22 -0500

Seen: 90 times

Last updated: Jan 22 '16