LAMP icon indicating copy to clipboard operation
LAMP copied to clipboard

Could not find a package configuration file provided by "core_msgs"?

Open yuan0524 opened this issue 2 years ago • 2 comments

When I run catkin build lamp, an error is displayed. Could not find a package configuration file provided by "core_msgs" with any of the following names: core_msgsConfig.cmake core_msgs-config.cmake

Add the installation prefix of "core_msgs" to CMAKE_PREFIX_PATH or set "core_msgs_DIR" to a directory containing one of the above files. If "core_msgs" provides a separate development package or SDK, be sure it has been installed. However, I was unable to locate the software package using sudo apt install ros-melodic-core_msgs.

yuan0524 avatar Oct 17 '22 07:10 yuan0524

Hi sorry, yes that's a bug we are in the process of fixing. The package should be in the common_nebula_slam repo, but we missed that previously. For now could you try with the feature/fix_common_nebula branch in common_nebula_slam? https://github.com/NeBula-Autonomy/common_nebula_slam/tree/feature/fix_common_nebula Thanks.

yunzc avatar Oct 17 '22 13:10 yunzc

Thank you very much for the link, I have now solved my problem. But I was a little confused when configuring the torch environment. I am ubuntu18.04, which corresponds to the ROS version melodic and has python2.7 built in, but when I configured the conda environment, it corresponds to python3.7 and their python versions do not match. I would like to know which version of your ROS is?

yuan0524 avatar Oct 20 '22 11:10 yuan0524

Sorry I did not see that you reopened this issue. I was using Ubuntu 18.04 and ROS melodic. The torch instructions here should be for python2. Personally my setup was with a python virtualenv.

yunzc avatar Nov 08 '22 18:11 yunzc