Skip to content

Commit 633804c

Browse files
committed
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 ```
1 parent 9ed2f48 commit 633804c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

sound_classification/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ find_package(catkin REQUIRED
55
catkin_virtualenv
66
message_generation
77
std_msgs
8-
roslaunch
98
)
109
if (${catkin_virtualenv_VERSION} VERSION_LESS "0.3.0")
1110
message(STATUS "sound_classification requires catkin_virtualenv >= 0.3.0")

sound_classification/package.xml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<build_depend>catkin_virtualenv</build_depend>
1212
<build_depend>message_generation</build_depend>
13+
<build_depend>std_msgs</build_depend>
1314

1415
<exec_depend>audio_capture</exec_depend>
1516
<exec_depend>audio_to_spectrogram</exec_depend>

0 commit comments

Comments
 (0)