Commit d588241f authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

setup auto-install-hpp for 18.04

parent 1868d4d5
export INSTALL_HPP_DIR=$DEVEL_HPP_DIR/install
export ROBOTPKG=/opt/openrobots
export ROS=/opt/ros/melodic
export PATH=$INSTALL_HPP_DIR/sbin:$INSTALL_HPP_DIR/bin:$ROS/bin:$PATH
export PKG_CONFIG_PATH=$INSTALL_HPP_DIR/lib/pkgconfig/:$ROS/lib/pkgconfig:$ROBOTPKG/lib/pkgconfig
export PYTHONPATH=$INSTALL_HPP_DIR/lib/python2.7/site-packages:$INSTALL_HPP_DIR/lib/python2.7/dist-packages:$ROS/lib/python2.7/dist-packages:$PYTHONPATH
export LD_LIBRARY_PATH=$INSTALL_HPP_DIR/lib:$INSTALL_HPP_DIR/lib64:$ROS/lib:$ROBOTPKG/lib:$LD_LIBRARY_PATH
if [ -f $INSTALL_HPP_DIR/setup.bash ]; then
source $INSTALL_HPP_DIR/setup.bash
else
source $ROS/setup.bash
fi
# Make sure that /opt/ros/melodic/setup.bash is in the ROS_PACKAGE_PATH,
# otherwise, you should add it by hand in the line below.
export ROS_PACKAGE_PATH=$INSTALL_HPP_DIR/share:$ROBOTPKG/share:$ROS_PACKAGE_PATH
if [ -f "${INSTALL_HPP_DIR}/etc/hpp-tools/bashrc" ]; then
source "${INSTALL_HPP_DIR}/etc/hpp-tools/bashrc"
fi
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:$ROBOTPKG
......@@ -28,6 +28,18 @@ case $HOST_DIST in
APT_BUILD_DEP=""
CONFIG_FILE="ubuntu-16.04-kinetic.sh"
;;
bionic)
APT_DEP="g++ cmake doxygen libboost-dev liburdfdom-dev \
libassimp-dev ros-melodic-xacro ros-melodic-kdl-parser ros-melodic-common-msgs \
ros-melodic-tf ros-melodic-tf-conversions libccd-dev ros-melodic-octomap \
ros-melodic-resource-retriever ros-melodic-srdfdom ros-melodic-pr2-description flex \
bison asciidoc source-highlight git libomniorb4-dev omniorb-nameserver omniidl \
omniidl-python libltdl-dev python-matplotlib libxml2-dev libtinyxml2-dev \
liblog4cxx-dev libltdl-dev qt4-dev-tools libqt4-opengl-dev libqtgui4 libqtwebkit-dev oxygen-icon-theme \
libopenscenegraph-dev openscenegraph libpcre3-dev libcdd-dev libglpk-dev"
APT_BUILD_DEP=""
CONFIG_FILE="ubuntu-18.04-melodic.sh"
;;
*)
echo "Unknow host distribution."
exit 1
......@@ -90,7 +102,7 @@ do
echo "$v=${!v}"
done
read -p "Continue (y/N)?" choice
case "$choice" in
case "$choice" in
y|Y )
echo "yes"
;;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment