How to build a package from source on Ubuntu MATE 16.04 LTS and ROS Kinetic?
There are two packages that I could build from source for their respective reasons. The first one is ardrone-autonomy
. This package, as indicated by this question, is not being installed on my computer with the command sudo apt-get install ros-kinetic-ardrone-autonomy
. The other package is lsd-slam
. This package, as indicated by this question, must be built from source. lsd-slam
is yet to be released for ros-kinetic.
Now The standard instructions for building from source are:
$ cd ~/ros_catkin_ws
$ rosinstall_generator ros_desktop <package_name> --rosdistro kinetic --deps --wet-only --tar > kinetic-custom_ros.rosinstall
$ wstool merge -t src kinetic-custom_ros.rosinstall
$ wstool update -t src
$ rosdep install --from-paths src --ignore-src --rosdistro kinetic -y -r --os=debian:jessie
$ sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic
But when you install kinetic using the command, sudo apt-get install ros-kinetic-desktop-full
, the folder ~/ros_catkin_ws
is not created in your root directory. So how exactly am I supposed to proceed with the installation of ardrone-autonomy
? I know these are the instructions for installing lsd-slam
, but this also need me to use catkin_make
and that would need ~/ros_catkin_ws
. What exactly am I supposed to do here?
Those are definitely not the "standard instructions for building from source", if only for the fact that you are forcing
rosdep
to consider dependency mapping for Debian Jessie. Also: this will build all of ROS, which is completely unnecessary (as I mentioned in #q252390).So how would I go about building from source?