问题:
CMake Error at /usr/share/cmake-3.10/Modules/CMakeFindDependencyMacro.cmake:48 (find_package):
Found package configuration file:
/home/wl/anaconda3/lib/cmake/Qt5WebKit/Qt5WebKitConfig.cmake
but it set Qt5WebKit_FOUND to FALSE so package "Qt5WebKit" is considered to
be NOT FOUND. Reason given by package:
Qt5WebKit could not be found because dependency is required to have exact
version 5.15.x.
解决方案
感觉是编译的环境和conda环境冲突了
方法一:
catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python
方法二:
里面有下面的一项错误
lakibeam_ros1/CMakeLists.txt:47 (find_package)
-- Configuring incomplete, errors occurred!
把这一行注释掉
重新编译 成功
之前的时候总是会遇到这个错误,都是pcl ,所以,基本上报错的行,应该都是PCL,只要在CMakeLists.txt中,把这个注释掉就欧克,再重新编译。