Could not find a package configuration file provided by "Pangolin" with any of the following names:
时间: 2023-08-23 17:09:00 浏览: 211
Pangolin安装包下载
5星 · 资源好评率100%
回答: 如果在使用find_package时出现了"Could not find a package configuration file provided by "Pangolin" with any of the following names"的错误,可以尝试以下几种方法来解决。首先,可以按照Config模式进行查找,设置Opecv_DIR路径,并在find_package中指定一个名字,比如:find_package(Pangolin NAMES Pangolin REQUIRED)。其次,可以设置CMAKE_MODULE_PATH路径信息,并在find_package中指定一个名字,比如:find_package(Pangolin NAMES Pangolin REQUIRED)。最后,可以指定具体的链接库文件路径,可以选择安装包的build/bin/下的所有库文件名字,或者/usr/local/lib下的所有库文件名字。请注意,具体的链接库文件路径可能需要写出所有文件名字,如果有简化写法,可以参考相关文档或留言咨询。
#### 引用[.reference_title]
- *1* *2* *3* [[CmakeList][转载]Could not find a package configuration file provided by “Opencv](https://blog.csdn.net/FL1623863129/article/details/119808865)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文