ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

hi, i have this error, how can i fix this??

asked 2021-08-31 01:50:01 -0500

beny.moadab@gmail.com gravatar image

CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "hector_worldmodel_msgs" with any of the following names:

hector_worldmodel_msgsConfig.cmake
hector_worldmodel_msgs-config.cmake

Add the installation prefix of "hector_worldmodel_msgs" to CMAKE_PREFIX_PATH or set "hector_worldmodel_msgs_DIR" to a directory containing one of the above files. If "hector_worldmodel_msgs" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): hector_qrcode_detection/CMakeLists.txt:6 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/beny/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/beny/catkin_ws/build/CMakeFiles/CMakeError.log". make: * [Makefile:1272: cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-02 22:36:11 -0500

janindu gravatar image

You need to install or build from source hector-worldmodel-msgs package. It doesn't look like there is an apt repository for this in Ubuntu 20.04 and ROS noetic, so installing from source would be my best bet.

Links :

ROS wiki

Github

Also, you might want to look at ROS Answers guideline and FAQ before posting your next question. The way you have formed your question's title is not very informative and will not get a lot of exposure.

edit flag offensive delete link more

Comments

I will follow the way you said Thanks for your help

beny.moadab@gmail.com gravatar image beny.moadab@gmail.com  ( 2021-09-03 02:06:19 -0500 )edit

i build hector-worldmodel-msgs package. but after when add my other package soo build again this error shown:

/home/beny/catkin_ws/src/hector_qrcode_detection/src/qrcode_detection.cpp:33:10: fatal error: cv.h: No such file or directory 33 | #include <cv.h> | ^~~~~~ compilation terminated.

make[2]: * [hector_qrcode_detection/CMakeFiles/qrcode_detection.dir/build.make:63: hector_qrcode_detection/CMakeFiles/qrcode_detection.dir/src/qrcode_detection.cpp.o] Error 1

make[1]: * [CMakeFiles/Makefile2:5019: hector_qrcode_detection/CMakeFiles/qrcode_detection.dir/all] Error 2

make: * [Makefile:141: all] Error 2 Invoking "make -j16 -l16" failed

beny.moadab@gmail.com gravatar image beny.moadab@gmail.com  ( 2021-09-03 05:06:01 -0500 )edit

This is starting to feel like an XY problem Why are you building hector-qrcode-detection package when you want to build hector-worldmodel-msgs?

janindu gravatar image janindu  ( 2021-09-05 18:37:13 -0500 )edit

Question Tools

Stats

Asked: 2021-08-31 01:50:01 -0500

Seen: 350 times

Last updated: Sep 02 '21