Commit 8c458278 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Update Makefile and instructions to installation under Ubuntu-16.04.

parent 23bf76f8
......@@ -151,7 +151,7 @@ hpp-baxter_repository=${HPP_REPO}
OpenSceneGraph-dae-plugin_extra_flags= -DCOLLADA_DYNAMIC_LIBRARY=${INSTALL_DIR}/lib/libcollada14dom.so -DCOLLADA_INCLUDE_DIR=${INSTALL_DIR}/include/collada-dom
doxygen-Release_1_8_10_extra_flags= -DCMAKE_BUILD_TYPE=Release
collada-dom_extra_flags=-DBUILD_SHARED_LIBS=TRUE -DOPT_COLLADA15=FALSE
roboptim-core-3.1_extra_flags= -DCMAKE_BUILD_TYPE=Release -DCXX_DISABLE_WERROR=ON
......@@ -167,7 +167,7 @@ else
hpp-manipulation-corba_extra_flags-DHPP_MANIPULATION_HAS_WHOLEBODY=FALSE
endif
all: doxygen-1.8.10.install hpp_tutorial.install \
all: hpp_tutorial.install \
hpp-manipulation-corba.install hpp-gepetto-viewer.install
${MAKE} hpp-doc.install
......@@ -176,7 +176,6 @@ hrp2: test-hpp.install
hpp-fcl.configure.dep: eigen3.install hpp-fcl.checkout
eigen3.configure.dep: eigen3.checkout
doxygen-1.8.10.configure.dep: doxygen-1.8.10.checkout
roboptim-core-3.1.configure.dep: eigen3.install roboptim-core-3.1.checkout
roboptim-trajectory-3.1.configure.dep: roboptim-core-3.1.install \
roboptim-trajectory-3.1.checkout
......@@ -364,21 +363,6 @@ roboptim-trajectory-3.1.checkout:
${WGET} -O - "https://github.com/roboptim/roboptim-trajectory/releases/download/v3.1/roboptim-trajectory-3.1.tar.bz2" | ${TAR} -xj; \
fi
doxygen-1.8.10.checkout:
if [ -d $(@:.checkout=) ]; then \
echo "$(@:.checkout=) already checkout out."; \
else \
${WGET} -O - "ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.10.linux.bin.tar.gz" | ${TAR} -xz;\
fi
doxygen-1.8.10.configure: doxygen-1.8.10.configure.dep
@ :
doxygen-1.8.10.install: doxygen-1.8.10.configure
cd ${SRC_DIR}/doxygen-1.8.10;\
mkdir -p ${DEVEL_DIR}/install/bin;\
install --mode=755 -t ${DEVEL_DIR}/install/bin bin/doxygen
hrp2.configure: hrp2.configure.dep
. ${INSTALL_DIR}/setup.sh; \
cd ${SRC_DIR}/hrp2/hrp2_14_description;\
......
export PATH=$DEVEL_DIR/install/sbin:$DEVEL_DIR/install/bin:$PATH
export PKG_CONFIG_PATH=$DEVEL_DIR/install/lib/pkgconfig/:/opt/ros/indigo/lib/pkgconfig
export PATH=$DEVEL_DIR/install/sbin:$DEVEL_DIR/install/bin:/opt/ros/kinetic/bin:$PATH
export PKG_CONFIG_PATH=$DEVEL_DIR/install/lib/pkgconfig/:/opt/ros/kinetic/lib/pkgconfig
export PYTHONPATH=$DEVEL_DIR/install/lib/python2.7/site-packages:$DEVEL_DIR/install/lib/python2.7/dist-packages:/opt/ros/indigo/lib/python2.7/dist-packages:$PYTHONPATH
export PYTHONPATH=$DEVEL_DIR/install/lib/python2.7/site-packages:$DEVEL_DIR/install/lib/python2.7/dist-packages:/opt/ros/kinetic/lib/python2.7/dist-packages:$PYTHONPATH
export LD_LIBRARY_PATH=$DEVEL_DIR/install/lib:$DEVEL_DIR/install/lib64:/opt/ros/indigo/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$DEVEL_DIR/install/lib:$DEVEL_DIR/install/lib64:/opt/ros/kinetic/lib:$LD_LIBRARY_PATH
if [ -f $DEVEL_DIR/install/setup.bash ]; then
source $DEVEL_DIR/install/setup.bash
else
source /opt/ros/indigo/setup.bash
source /opt/ros/kinetic/setup.bash
fi
if [ "$ROS_PACKAGE_PATH" = "" ]; then
export ROS_PACKAGE_PATH=$DEVEL_DIR/install/share:/opt/ros/kinetic/share
fi
## Installation on ubuntu-14.04 64 bit with ros-indigo
## Installation on ubuntu-16.04 64 bit with ros-kinetic
To install all the packages on ubuntu 14.04 LTS 64 bit, you should do the following steps:
1. install ROS-indigo: follow steps 1.1 to 1.3 of [the ROS installation website.](http://wiki.ros.org/indigo/Installation/Ubuntu).
1. install ROS-kinetic: follow steps 1.1 to 1.3 of [the ROS installation website.](http://wiki.ros.org/kinetic/Installation/Ubuntu).
2. install by apt-get
- autoconf
- g++
- cmake
- doxygen
- libboost-dev
- liburdfdom-dev
- libassimp-dev
- ros-indigo-xacro
- ros-indigo-kdl-parser
- ros-indigo-common-msgs
- ros-indigo-tf
- ros-indigo-tf-conversions
- ros-indigo-libccd
- ros-indigo-octomap
- ros-indigo-resource-retriever
- ros-indigo-urdfdom-py
- ros-indigo-srdfdom
- ros-indigo-pr2-robot
- ros-kinetic-xacro
- ros-kinetic-kdl-parser
- ros-kinetic-common-msgs
- ros-kinetic-tf
- ros-kinetic-tf-conversions
- ros-kinetic-libccd
- ros-kinetic-octomap
- ros-kinetic-resource-retriever
- ros-kinetic-urdfdom-py
- ros-kinetic-srdfdom
- ros-kinetic-pr2-description
- flex
- bison
- asciidoc
......@@ -33,6 +34,7 @@ To install all the packages on ubuntu 14.04 LTS 64 bit, you should do the follow
- omniidl-python
- libltdl-dev
- python-matplotlib
- libxml2
- libtinyxml2-dev
- liblog4cxx10-dev
- libltdl-dev
......@@ -41,9 +43,11 @@ To install all the packages on ubuntu 14.04 LTS 64 bit, you should do the follow
- libqtgui4
- oxygen-icon-theme
- libopenscenegraph-dev
- openscenegraph
- libpcre3-dev
```bash
sudo apt-get install autoconf g++ cmake libboost-dev liburdfdom-dev libassimp-dev ros-indigo-xacro ros-indigo-kdl-parser ros-indigo-common-msgs ros-indigo-tf ros-indigo-tf-conversions ros-indigo-libccd ros-indigo-octomap ros-indigo-resource-retriever ros-indigo-srdfdom ros-indigo-pr2-robot flex bison asciidoc source-highlight git libomniorb4-dev omniorb-nameserver omniidl omniidl-python libltdl-dev python-matplotlib libtinyxml2-dev liblog4cxx10-dev libltdl-dev qt4-dev-tools libqt4-opengl-dev libqtgui4 oxygen-icon-theme libopenscenegraph-dev
sudo apt-get install autoconf g++ cmake doxygen libboost-dev liburdfdom-dev libassimp-dev ros-kinetic-xacro ros-kinetic-kdl-parser ros-kinetic-common-msgs ros-kinetic-tf ros-kinetic-tf-conversions libccd-dev ros-kinetic-octomap ros-kinetic-resource-retriever ros-kinetic-srdfdom ros-kinetic-pr2-description flex bison asciidoc source-highlight git libomniorb4-dev omniorb-nameserver omniidl omniidl-python libltdl-dev python-matplotlib libxml2 libtinyxml2-dev liblog4cxx10-dev libltdl-dev qt4-dev-tools libqt4-opengl-dev libqtgui4 oxygen-icon-theme libopenscenegraph-dev openscenegraph libpcre3-dev
```
3. Choose a directory on you file system and define the environment
......
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