From e7597131d21b5d4c4108c71276e0efc0be7e9dce Mon Sep 17 00:00:00 2001 From: d00190167 Date: Sat, 28 Apr 2018 14:28:57 -0400 Subject: [PATCH 1/2] fix runtime error: _ZN7log4cxx16AppenderSkeleton9setOptionERKSsS2_ not found --- ros/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ros/build.sh b/ros/build.sh index 1a6dbaf..4acc5cb 100755 --- a/ros/build.sh +++ b/ros/build.sh @@ -76,8 +76,11 @@ function build_ros() { -DFASTRTPS_PATH=${FASTRTPS_PATH} --cmake-args --no-warn-unused-cli && cp -r ${CURRENT_PATH}/third_party/fast-rtps/lib/* ${INSTALL_PATH}/lib/ && - cp -r ${CURRENT_PATH}/third_party/lib/* ${INSTALL_PATH}/lib/ && - cp -r ${CURRENT_PATH}/third_party/bin/* ${INSTALL_PATH}/bin/ && + cp -r ${CURRENT_PATH}/third_party/bin/* ${INSTALL_PATH}/bin/ + + rsync -rv ${CURRENT_PATH}/third_party/lib/ --exclude=librosconsole_log4cxx.so ${INSTALL_PATH}/lib/ && + ${CURRENT_PATH}/third_party/swig_wrapper/build.sh + find -name "*.pyc" -print0 | xargs -0 rm -rf if [ $? -ne 0 ]; then From ebba34d5c1a55903e7536527739e5f0cc932c800 Mon Sep 17 00:00:00 2001 From: GitBubble Date: Sat, 28 Apr 2018 15:06:50 -0400 Subject: [PATCH 2/2] delete empty line --- ros/build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ros/build.sh b/ros/build.sh index 4acc5cb..d617f11 100755 --- a/ros/build.sh +++ b/ros/build.sh @@ -76,8 +76,7 @@ function build_ros() { -DFASTRTPS_PATH=${FASTRTPS_PATH} --cmake-args --no-warn-unused-cli && cp -r ${CURRENT_PATH}/third_party/fast-rtps/lib/* ${INSTALL_PATH}/lib/ && - cp -r ${CURRENT_PATH}/third_party/bin/* ${INSTALL_PATH}/bin/ - + cp -r ${CURRENT_PATH}/third_party/bin/* ${INSTALL_PATH}/bin/ rsync -rv ${CURRENT_PATH}/third_party/lib/ --exclude=librosconsole_log4cxx.so ${INSTALL_PATH}/lib/ && ${CURRENT_PATH}/third_party/swig_wrapper/build.sh