Ask Your Question
1

groovy source install is strange

asked 2013-02-02 21:41:39 -0500

kalectro gravatar image

All, I installed ROS at least 4 times from source on different devices over the last month. I still do not really understand the structure behind this procedure. Let's say I want to build the desktop package from source. I would have to initialize wstool using http://packages.ros.org/web/rosinstall/generate/raw/groovy/desktop Then I call rosdep to have all dependencies installed and call catkin_make after that. What I do not see is why OpenCV2 and PCL are downloaded into the src folder and compiled using catkin_make and are not installed with rosdep using prebuilt binaries. Especially when you build on embedded devices, those huge libraries consume a lot of time and space to compile. If there is a reason, please let me know

Kai

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-02-03 07:08:52 -0500

tfoote gravatar image

The source based installations are designed to support people running on platforms without prebuilt binaries available or who do not want to or cannot use the prebuilt binaries.

For example your use case on most embedded devices prebuilt binaries do not exist.

If you don't want to build something because you have resolved the dependency externally, you can just remove it from your workspace. You will have to make sure that the external installation of the package is in your CMAKE_PREFIX_PATH.

edit flag offensive delete link more

Comments

that is what my assumption was from the beginning. I got only confused because on MacOS rosdep also installs dependencies from source. I really like that approach because it will result in only ROS packages to be placed in the src folder. Couldn't PCL and OpenCV be installed the same way?

kalectro gravatar imagekalectro ( 2013-02-03 08:23:33 -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

Stats

Asked: 2013-02-02 21:41:39 -0500

Seen: 113 times

Last updated: Feb 03 '13