Skip to content

Commit

Permalink
Add libopencv-dev installation on kinetic to compile hrpsys-simulator…
Browse files Browse the repository at this point in the history
… in hrpsys-base

Details:
- #1091 (comment)
- #1091 (comment)
  • Loading branch information
pazeshun committed Apr 9, 2020
1 parent 826344d commit 0281486
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.rosinstall.kinetic
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# We want to use source of released hrpsys, but building it fails when libpcl-dev and libopenni2-dev exist.
# Waiting for https://github.com/fkanehiro/hrpsys-base/pull/1242 to be released.
# Details: https://github.com/start-jsk/rtmros_common/pull/1090#issuecomment-610860446
# Don't forget to remove libopencv-dev installation from .travis.yml and README when using hrpsys-release again.
# Details: https://github.com/start-jsk/rtmros_common/pull/1091#issuecomment-611457804
# - git:
# uri: https://github.com/tork-a/hrpsys-release
# version: release/kinetic/hrpsys
Expand Down
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ notifications:
on_failure: always #[always|never|change] # default: always
before_script:
- set -x
# Install libopencv-dev manually to compile hrpsys-simulator in hrpsys-base on kinetic
# Details: https://github.com/start-jsk/rtmros_common/pull/1091#issuecomment-611457804
# https://github.com/start-jsk/rtmros_common/pull/1091#issuecomment-611476618
# Waiting for .travis.rosinstall.kinetic to use hrpsys-release
- if [ "${ROS_DISTRO}" == "kinetic" ] && [ "${USE_DEB}" != "true" ] ; then if [ "${EXTRA_DEB}" == "" ] ; then export EXTRA_DEB="libopencv-dev"; else export EXTRA_DEB="${EXTRA_DEB} libopencv-dev"; fi; fi
# Forcely upgrade PCRE to avoid failure in building hrpsys with hydro.
# This has a side effect, and we need extra settings.
# Issue detail: https://github.com/start-jsk/rtmros_common/issues/1076
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ This document explains how to use and how to contribute to rtm-ros-robotics soft

If you want to compile all source code:
- (If the target repository is not `rtmros_common`) `wstool set rtmros_common https://github.com/start-jsk/rtmros_common --git -y`
- (On `kinetic` distribution) `sudo apt-get install libopencv-dev`
- Skipping this may cause [runtime error](https://github.com/start-jsk/rtmros_common/pull/1091#issuecomment-611457804)
- `wstool merge https://raw.githubusercontent.com/start-jsk/rtmros_common/master/.travis.rosinstall -y`
- `wstool merge https://raw.githubusercontent.com/start-jsk/rtmros_common/master/.travis.rosinstall.${ROS_DISTRO} -y`
- Please ignore `Unable to download URL` error on `indigo` distribution
Expand Down

0 comments on commit 0281486

Please sign in to comment.