dev:ros:build_package_deb
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | dev:ros:build_package_deb [2023/11/24 21:55] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
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 / | ||
+ | |||
+ | 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 | ||
+ | |||
+ | 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/pages/dev/ros/build_package_deb.txt · Last modified: 2023/11/24 21:55 by 127.0.0.1