ros:build_package
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ros:build_package [2013/12/15 11:32] – [Base method] redox | ros:build_package [2013/12/22 00:14] (current) – removed redox | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | # Build a ROS Package - Method A | ||
- | |||
- | <note important> | ||
- | |||
- | ## Base method | ||
- | |||
- | When you need to build a separate package for ROS, instead of going throught all the steps like in the installation process, this should work | ||
- | |||
- | mkdir -p temp_dir/ | ||
- | cd temp_dir/ | ||
- | # Here, put your package_folder | ||
- | cd ../ | ||
- | # Maybe you can try this to resolve the dependencies, | ||
- | #rosdep install --from-paths src --ignore-src --rosdistro hydro -y -r --os=debian: | ||
- | sudo / | ||
- | |||
- | Aaaannd, that's it. | ||
- | |||
- | ## Ubuntu variant | ||
- | |||
- | This procedure is useful for users who have installed ROS packages from the " | ||
- | The _difference_ is that sudo needs to source / | ||
- | |||
- | sudo bash | ||
- | source / | ||
- | catkin_make_isolated -DBUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_PREFIX=/ | ||
- | exit | ||
- | |||
- | And it should be done! | ||
- | |||
- | # Build a ROS Package - Method B | ||
- | This one doesn' | ||
- | |||
- | mkdir yourpackage | ||
- | git clone --branch release/ | ||
- | mkdir build | ||
- | cd build | ||
- | cmake ../ | ||
- | make | ||
- | sudo make install | ||
- | |||
- | This method comes from the Archlinux PKGBUILDs, it works on Debian like this. There should be a way to checkinstall make install... and then we could (fully) package ROS for Debian in an easy, kinda automatic way... | ||
/home/share/www/redox.ws/wiki/data/attic/ros/build_package.1387107150.txt.gz · Last modified: 2023/11/24 21:55 (external edit)