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/14 22:28] – redox | ros:build_package [2013/12/22 00:14] (current) – removed redox | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | # Build a ROS Package - Method A | ||
- | |||
- | <note important> | ||
- | |||
- | 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 catkin_make_isolated -DBUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_PREFIX=/ | ||
- | | ||
- | > //Edit:// | ||
- | > This procedure is usefull for users who installed ros paskages from repository and want to update a package with a newer source, Mostly ubuntu users. | ||
- | > | ||
- | > sudo needs to source / | ||
- | > | ||
- | > sudo bash | ||
- | > #your password | ||
- | > | ||
- | > | ||
- | > exit | ||
- | > | ||
- | > _Hyde_: I don't really see the point, you just have to find where catkin_make_isolated is located, and do `sudo / | ||
- | |||
- | Aaaannd, that's it. | ||
- | |||
- | # Build a ROS Package - Method B | ||
- | |||
- | This one doesn' | ||
- | |||
- | mkdir yourpackage | ||
- | git clone --branch release/ | ||
- | mkdir build | ||
- | cd build | ||
- | cmake ../ | ||
- | make | ||
- | sudo make install | ||
- | # There should be a way to checkinstall make install... not workin' | ||
/home/share/www/redox.ws/wiki/data/attic/ros/build_package.1387060138.txt.gz · Last modified: 2023/11/24 21:55 (external edit)