octomap相關問題
1.下載編譯octomap、octomap_msgs、octomap_ros。
cmake、make步驟按照流程走。
2.octomap能編譯成功,octomap_msgs的cmake成功,make成功。octomap_ros的cmake報錯:
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "octomap_msgs" with
any of the following names:octomap_msgsConfig.cmake
octomap_msgs-config.cmakeAdd the installation prefix of "octomap_msgs" to CMAKE_PREFIX_PATH or set
"octomap_msgs_DIR" to a directory containing one of the above files. If
"octomap_msgs" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)
-- Could not find the required component 'octomap_msgs'. 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 "octomap_msgs" with
any of the following names:octomap_msgsConfig.cmake
octomap_msgs-config.cmakeAdd the installation prefix of "octomap_msgs" to CMAKE_PREFIX_PATH or set
"octomap_msgs_DIR" to a directory containing one of the above files. If
"octomap_msgs" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
解決方法:
將octomap_msgs/build/devel/share/octomap_msgs複製到/opt/ros/kinetic/share/中。即可成功
3.其他問題
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "octomap" with any
of the following names:octomapConfig.cmake
octomap-config.cmakeAdd the installation prefix of "octomap" to CMAKE_PREFIX_PATH or set
"octomap_DIR" to a directory containing one of the above files. If
"octomap" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:28 (find_package)
-- Configuring incomplete, errors occurred!
解決方法:
cmake -Doctomap_DIR=/usr/local/share/octomap ..
相關文章
- django相關問題Django
- electron相關問題
- Docker 相關問題Docker
- SpringBoot-相關問題Spring Boot
- Java相關問題整理Java
- 大模型相關問題大模型
- python pip相關問題Python
- Spring相關問題記錄Spring
- 瀏覽器相關問題瀏覽器
- mysql相關問題總結MySql
- Silverlight安裝相關問題
- RUST所有權相關問題Rust
- 關於盒模型相關的問題模型
- [20191202]關於hugepages相關問題.txt
- 關於 go-micro 相關問題Go
- HandlerThread解析以及相關問題分析thread
- 多執行緒相關問題執行緒
- 中介軟體相關問題整理
- 個人專案相關問題
- 資料庫事物相關問題資料庫
- 上傳下載相關問題
- java語言相關的問題Java
- [20190108]rlwrap sqlplus tee相關問題.txtSQL
- 前端面試之js相關問題前端面試JS
- [20180413]熱備模式相關問題.txt模式
- SpringBoot --spring.profiles.active相關問題Spring Boot
- 面試遇到的redis相關問題面試Redis
- Laravel佇列相關問題記錄Laravel佇列
- TCP/IP 協議相關的問題TCP協議
- svn相關問題解決辦法
- MySQL中鎖的相關問題DTQUMySql
- win10 下關於redis的相關問題Win10Redis
- Hadoop/Spark相關面試問題總結HadoopSpark面試
- 翻譯 | SpringBoot相關的面試問題Spring Boot面試
- HTTPS總結+相關面試問題解答HTTP面試
- 在 dubbo 中使用 Threadlocal 的相關問題thread
- Flutter-Android 應用打包相關問題FlutterAndroid
- k8s 相關問題彙總K8S