程序找不到pcl的cmakefiles,catkin_make时报错

hello-pdg hello-pdg     2022-10-12     493

关键词:

错误提示:

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "PCL" with any of
the following names:

PCLConfig.cmake
pcl-config.cmake

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


-- Could not find the required component ‘PCL‘. 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.
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "PCL" with any of
the following names:

PCLConfig.cmake
pcl-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/pdg/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/pdg/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1704: recipe for target ‘cmake_check_build_system‘ failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

解决方法:

在CMakeLists.txt中find_package()前添加 set(PCL_DIR /usr/share/pcl-1.8)

Xamarin PCL 蓝牙看不到设备

...01【问题描述】:我正在尝试使用xamarin来做一个测试应用程序。此应用程序必须搜索蓝牙设备,将它们查看到列表中并连接到它们以读取或写入数据。我为我的项目选择了xamarin便携式类库。我看到很多示例,但在我的列表中看... 查看详情

找不到类型的初始化程序

】找不到类型的初始化程序【英文标题】:Cannotfindaninitializerfortype【发布时间】:2015-07-1106:37:43【问题描述】:我收到一个错误提示找不到接受“SmileyScene”类型的初始化程序\'(fileNamed:String)\'类型的参数列表我是swift新手,请帮... 查看详情

PCL:如何更新 pcl::visualizer 中的法线云?

...可视化点云。我还需要可视化法线,如何更新它们?我找不到像普通云的updateClouds这样的东西。voidpclVisualizerThread::operator( 查看详情

FXCop - 找不到引用的程序集

】FXCop-找不到引用的程序集【英文标题】:FXCop-Referencedassemblycouldnotbefound【发布时间】:2009-06-0922:45:39【问题描述】:我正在尝试在精简版应用程序上使用MicrosoftFXCop1.36版,但是当我分析项目时出现以下错误。以下引用的程序集... 查看详情

找不到类型的初始化程序

】找不到类型的初始化程序【英文标题】:Cannotfindaninitializerfortype【发布时间】:2015-08-0709:29:35【问题描述】:letendDate=NSDate()letstartDate=NSDate()letv:Float?letstepsCount:HKQuantityType=HKQuantityType.quantityTypeForIdentifier(HKQuantityTypeIden 查看详情

找不到类型的初始化程序

】找不到类型的初始化程序【英文标题】:Cannotfindaninitializerfortype【发布时间】:2015-08-0709:29:35【问题描述】:letendDate=NSDate()letstartDate=NSDate()letv:Float?letstepsCount:HKQuantityType=HKQuantityType.quantityTypeForIdentifier(HKQuantityTypeIden 查看详情

PDO:未捕获的 PDOException:找不到驱动程序

】PDO:未捕获的PDOException:找不到驱动程序【英文标题】:PDO:UncaughtPDOException:couldnotfinddriver【发布时间】:2017-05-1310:30:30【问题描述】:我正在使用odbc和XAMPP。我收到了找不到驱动程序的致命错误致命错误:未捕获的PDOException... 查看详情

导入lxml找不到etree,报importerror:dllloadfailed:找不到指定的程序

...apycrawljobbole命令报导入lxml的etree无法导入,找不到指定的程序2、这是因为有的lxml包中不包含"etree",所以需要重新下载一个包http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml3、然后卸载之前安装的lxml(pipuni 查看详情

UCanAccess:找不到合适的驱动程序

】UCanAccess:找不到合适的驱动程序【英文标题】:UCanAccess:Nosuitabledriverfound【发布时间】:2016-05-0917:14:41【问题描述】:我的数据库中不断出现“找不到合适的驱动程序”,但我无法确定我的连接类有什么问题?有什么帮助吗?... 查看详情

如何用pcl配置visualstudio2010

...isualStudio2010文件夹下,查看MicrosoftWindowsSDKTools,如果看到程序后面(如IL反汇编程序)有(x64)字样,则vs是64位的,没有就放心安装32位版本吧。  如果是用cmake生成pcl解决方案,要注意在cmake的时候确定各个依赖库的路径,可以... 查看详情

Xcode 找不到已安装的应用程序

】Xcode找不到已安装的应用程序【英文标题】:Xcodecouldnotlocatetheinstalledapplication【发布时间】:2020-01-2721:55:24【问题描述】:在XCode11中,当我尝试运行应用程序时,xcode显示安装成功,但出现警告消息“无法找到已安装的应用程... 查看详情

找不到记录器的处理程序

】找不到记录器的处理程序【英文标题】:Nohandlerscouldbefoundforlogger【发布时间】:2011-10-0809:44:04【问题描述】:我是Django的新手。我现在正在尝试Django日志记录。尝试时,我收到此错误["Nohandlerscouldbefoundforlogger"sample""]..这是我... 查看详情

为啥 MonoDroid 找不到我的程序集?

】为啥MonoDroid找不到我的程序集?【英文标题】:Whycan\'tMonoDroidfindmyassemblies?为什么MonoDroid找不到我的程序集?【发布时间】:2014-04-2701:02:23【问题描述】:我使用XamarinStudio4.2.3制作了一个简单的AndroidHelloWorld应用程序,它除了... 查看详情

带有消息“找不到驱动程序”的 PostgreSql 'PDOException'

】带有消息“找不到驱动程序”的PostgreSql\\\'PDOException\\\'【英文标题】:PostgreSql\'PDOException\'withmessage\'couldnotfinddriver\'带有消息“找不到驱动程序”的PostgreSql\'PDOException\'【发布时间】:2012-04-2212:35:07【问题描述】:pdo在mysql上运... 查看详情

找不到包含 OwinStartupAttribute 错误的程序集

】找不到包含OwinStartupAttribute错误的程序集【英文标题】:NoassemblyfoundcontaininganOwinStartupAttributeError【发布时间】:2017-01-0423:45:24【问题描述】:这个错误尝试加载应用时出现以下错误。-未找到包含OwinStartupAttribute的程序集。-未... 查看详情

找不到appium android驱动程序的findelementbyandroiduiautomator方法

】找不到appiumandroid驱动程序的findelementbyandroiduiautomator方法【英文标题】:Cannotfindfindelementbyandroiduiautomatormethodforappiumandroiddriver【发布时间】:2019-11-0417:15:39【问题描述】:我正在使用带有mobileElement类型转换的android驱动程序,... 查看详情

找不到实体框架 6 的兼容提供程序

】找不到实体框架6的兼容提供程序【英文标题】:Couldnotfindacompatibleproviderforentityframework6【发布时间】:2014-07-1206:04:32【问题描述】:我在使用MySQL5.6.17的VisualStudio2013Ultimate中有以下项目新项目:ASP.netwebforms应用程序NuGetEntityFrame... 查看详情

phpunit mockery 找不到匹配的处理程序

】phpunitmockery找不到匹配的处理程序【英文标题】:phpunitmockeryNomatchinghandlerfound【发布时间】:2015-11-1515:29:48【问题描述】:当我尝试使用多个测试执行phpUnit时,有人失败并显示以下输出:Nomatchinghandlerfound[...]Eitherthemethodwasunexpe... 查看详情