From 633804c4594cf29d06834192f81f5768a6692c15 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Fri, 3 Jan 2025 02:10:31 +0000 Subject: [PATCH 1/3] add std_mgs build_depends, to fix obase-build (maybe and others) ``` 2025-01-03T00:50:28.1527201Z -- BUILD_SHARED_LIBS is on 2025-01-03T00:50:28.2543412Z -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy 2025-01-03T00:50:28.2568008Z -- Could NOT find std_msgs (missing: std_msgs_DIR) 2025-01-03T00:50:28.2569369Z -- Could not find the required component 'std_msgs'. The following CMake error indicates that you\ either need to install the package with the same name or change your environment so that it can be found. 2025-01-03T00:50:28.2584407Z CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:82 (find_package): 2025-01-03T00:50:28.2585511Z Could not find a package configuration file provided by "std_msgs" with any 2025-01-03T00:50:28.2586306Z of the following names: 2025-01-03T00:50:28.2586595Z 2025-01-03T00:50:28.2586761Z std_msgsConfig.cmake 2025-01-03T00:50:28.2587107Z std_msgs-config.cmake 2025-01-03T00:50:28.2587292Z 2025-01-03T00:50:28.2587515Z Add the installation prefix of "std_msgs" to CMAKE_PREFIX_PATH or set 2025-01-03T00:50:28.2588032Z "std_msgs_DIR" to a directory containing one of the above files. If 2025-01-03T00:50:28.2588533Z "std_msgs" provides a separate development package or SDK, be sure it has 2025-01-03T00:50:28.2588941Z been installed. 2025-01-03T00:50:28.2589180Z Call Stack (most recent call first): 2025-01-03T00:50:28.2589472Z CMakeLists.txt:4 (find_package) 2025-01-03T00:50:28.2589660Z ``` --- sound_classification/CMakeLists.txt | 1 - sound_classification/package.xml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sound_classification/CMakeLists.txt b/sound_classification/CMakeLists.txt index 816dacd072..7c4663ea4f 100644 --- a/sound_classification/CMakeLists.txt +++ b/sound_classification/CMakeLists.txt @@ -5,7 +5,6 @@ find_package(catkin REQUIRED catkin_virtualenv message_generation std_msgs - roslaunch ) if (${catkin_virtualenv_VERSION} VERSION_LESS "0.3.0") message(STATUS "sound_classification requires catkin_virtualenv >= 0.3.0") diff --git a/sound_classification/package.xml b/sound_classification/package.xml index 2dad7080d8..65d1045277 100644 --- a/sound_classification/package.xml +++ b/sound_classification/package.xml @@ -10,6 +10,7 @@ catkin_virtualenv message_generation + std_msgs audio_capture audio_to_spectrogram From b05b86ea3ff295648e9215e848b443253d553425 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Mon, 6 Jan 2025 02:28:48 +0000 Subject: [PATCH 2/3] add condition="$ROS_DISTRO != debian" for ROS-O to skip pip install --- jsk_perception/package.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jsk_perception/package.xml b/jsk_perception/package.xml index c0f94f7a61..13f181b038 100644 --- a/jsk_perception/package.xml +++ b/jsk_perception/package.xml @@ -84,17 +84,17 @@ python-h5py python3-h5py - python-chainer-pip + python-chainer-pip python-chainercv-pip python-chainer-mask-rcnn-pip - python-dlib + python-dlib leveldb - python-fcn-pip + python-fcn-pip - python-pytesseract-pip + python-pytesseract-pip python-requests python3-requests python-sklearn From 7816812ae31118dac684c42e480a1a005c298bd3 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Mon, 6 Jan 2025 10:45:19 +0000 Subject: [PATCH 3/3] Revert "add condition="$ROS_DISTRO != debian" for ROS-O to skip pip install" This reverts commit b05b86ea3ff295648e9215e848b443253d553425. --- jsk_perception/package.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jsk_perception/package.xml b/jsk_perception/package.xml index 13f181b038..c0f94f7a61 100644 --- a/jsk_perception/package.xml +++ b/jsk_perception/package.xml @@ -84,17 +84,17 @@ python-h5py python3-h5py - python-chainer-pip + python-chainer-pip python-chainercv-pip python-chainer-mask-rcnn-pip - python-dlib + python-dlib leveldb - python-fcn-pip + python-fcn-pip - python-pytesseract-pip + python-pytesseract-pip python-requests python3-requests python-sklearn