Skip to content

Commit

Permalink
Merge pull request ekumenlabs#27 from Intermodalics/fix-rosbag_storag…
Browse files Browse the repository at this point in the history
…e-linking

Fix rosbag_storage static linking
  • Loading branch information
meyerj authored Nov 27, 2018
2 parents 26eab5f + 0b59fc0 commit f0cf43e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 52 deletions.
5 changes: 3 additions & 2 deletions do_everything.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ if [[ $skip -ne 1 ]] ; then
# patch CMakeLists.txt for lz4 library - Build as a library
apply_patch $my_loc/patches/lz4.patch

# patch rosbag_storage - Fix static linking due to missing BZIP2 dependency
apply_patch $my_loc/patches/rosbag_storage.patch

# Patch collada - Build as static lib
apply_patch $my_loc/patches/collada_dom.patch

Expand Down Expand Up @@ -218,8 +221,6 @@ if [[ $skip -ne 1 ]] ; then
# Remove
rm -fr $prefix/catkin_ws/src/geometry2/tf2_py

apply_patch $my_loc/patches/pcl_ros.patch

# Patch roslib - weird issue with rospack.
# TODO: Need to look further (only on catkin_make_isolated)
# apply_patch /opt/roscpp_android/patches/roslib.patch
Expand Down
50 changes: 0 additions & 50 deletions patches/pcl_ros.patch

This file was deleted.

11 changes: 11 additions & 0 deletions patches/rosbag_storage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- catkin_ws/src/ros_comm/rosbag_storage/CMakeLists.txt
+++ catkin_ws/src/ros_comm/rosbag_storage/CMakeLists.txt
@@ -15,7 +15,7 @@ catkin_package(
INCLUDE_DIRS include
LIBRARIES rosbag_storage
CATKIN_DEPENDS roslz4
- DEPENDS console_bridge Boost
+ DEPENDS console_bridge Boost BZIP2
)

# Support large bags (>2GB) on 32-bit systems

0 comments on commit f0cf43e

Please sign in to comment.