Could not find a package configuration file provided by “catkin“ with any of the following names

This problem is that the cmake related to catin was not found, especially when the cmake version is 16, there will be an error
because the cmake version is too low, and only using find_package (catkin) cannot automatically find the cmake related to ros. Remind you that you can’t find this catkin, but in fact, you can find the catkin folder and the cmak under the folder under ror. It is
mainly aimed at the jetson platform, and the PC is similar to
the solution 1:
1. Upgrade cmake
to 3.18. Enough, here is the installation package of whl. After installation, it will be installed under usr/local/bin/cmake.
We can see that the cmake -version is 3.18, but we use the clion tool to directly cmake..., which is called by default. usr/bin/camke under the system, so we need to use the clion tool to assist.

链接: https://pan.baidu.com/s/1TvS7tyRBHyLcU3JDpYMgJg 提取码: wbfm

2. Install clion, select the upgraded cmake, the default cmake is in u

おすすめ

転載: blog.csdn.net/pvmsmfchcs/article/details/129497937