Ask Your Question
2

Is it possible to create a catkin package to provide precompiled libraries?

asked 2013-07-05 04:39:07 -0600

Thiemo gravatar image

Is there a way to create a catkin package that only provides precompiled libraries instead of building them, so that other catkin packages can depend on them and the libraries are present in the devel folder when the other packages are build?

Greetings, Thiemo

edit retag flag offensive close merge delete

Comments

1

Why pre-compiled libraries? For what architecture? Do you not have the sources?

joq gravatar imagejoq ( 2013-07-05 05:52:09 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
5

answered 2013-07-05 08:03:10 -0600

William gravatar image

The question is better framed "is there a way to do this with CMake". catkin doesn't make any restrictions on this, but it also does not provide specific infrastructure to support it.

Distributing precompiled binaries is bad because it basically limits the package's availability to select platforms and architectures. That being said maybe you can look at the prosilica_gige_sdk:

https://github.com/ros-drivers/prosilica_gige_sdk

This package distributes binaries for several architectures.

You'll also want to review the legal consequences for distributing binaries which you got from somewhere else with do not provide the source code. If they do provide source code I highly advise you to use that instead.

edit flag offensive delete link more

Comments

Thanks for the answer. I looked into it and I will try to adapt it.

Thiemo gravatar imageThiemo ( 2013-07-07 21:38:01 -0600 )edit
0

answered 2013-07-05 05:21:57 -0600

I am not sure if this is what you are searching for, but for Hydro distro, stage package was split in two. One package is stage that contains stage libraries and the other package is stageros which contains the node that allows stage interact with ROS. So I suppose there is a way to do what you ask for.

edit flag offensive delete link more

Comments

1

Stage is still compiled from source. Providing precompiled libraries is a different thing all together.

William gravatar imageWilliam ( 2013-07-05 07:57:04 -0600 )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

Stats

Asked: 2013-07-05 04:39:07 -0600

Seen: 1,557 times

Last updated: Jul 05 '13