From 633804c4594cf29d06834192f81f5768a6692c15 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Fri, 3 Jan 2025 02:10:31 +0000 Subject: [PATCH] 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