Missing requested Ceres components: [SuiteSparse]

2023-11-21 02:08

本文主要是介绍Missing requested Ceres components: [SuiteSparse],希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

编译nav2的源码时候,在编译smac_planner的时候出现找不到ceres里面的SuiteSparse,具体提示如下:

Starting >>> smac_planner
--- stderr: smac_planner                                                       
CMake Error at /usr/local/lib/cmake/Ceres/CeresConfig.cmake:88 (message):Failed to find Ceres - Missing requested Ceres components: [SuiteSparse](components requested: [SuiteSparse]).  Detected Ceres version: 1.14.0installed in: /usr/local with components: [EigenSparse,SparseLinearAlgebraLibrary, LAPACK, SchurSpecializations, OpenMP,Multithreading].
Call Stack (most recent call first):/usr/local/lib/cmake/Ceres/CeresConfig.cmake:390 (ceres_report_not_found)CMakeLists.txt:22 (find_package)
CMake Error at CMakeLists.txt:22 (find_package):Found package configuration file:/usr/local/lib/cmake/Ceres/CeresConfig.cmakebut it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOTFOUND.
---
Failed   <<< smac_planner [7.03s, exited with code 1]

找了一圈没有合适的答案,后来自己尝试把ceres重新安装一遍就可以了。解决步骤是:

git clone https://github.com/ceres-solver/ceres-solver.git 
cd ceres-solver
git check out 1.14.0 && mkdir build && cd build && cmake .. && make -j16
sudo make install

这篇关于Missing requested Ceres components: [SuiteSparse]的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/399056

相关文章

android.database.CursorIndexOutOfBoundsException: Index 5 requested, with a size of 5

描述: 01-02 00:13:43.380: E/flyLog:ChatManager(963): getUnreadChatGroupandroid.database.CursorIndexOutOfBoundsException: Index 5 requested, with a size of 5 01-02 00:13:43.380: E/flyLog:ChatManager(

code: 400, msg: Required request body is missing 错误解决

引起这个错误的原因是,请求参数按照get方式给。 应该给json字符串才对 补充: 1. @RequestBody String resource 加@RequestBody必须给json字符串,否则会报错400,记如标题错误。 不加这个的进行请求的话,其实post和get就没有什么区别了。 2. List<String> indexCodes=(List<String>)json.

Vue3+Vite+Echarts 出现Missing semicolon错误

使用的echarts代码如下:   import * as echarts from 'echarts';type EChartsOption = echarts.EChartsOption;var chartDom = document.getElementById('main')!;var myChart = echarts.init(chartDom);var option: ECha

LeetCode - 41. First Missing Positive

41. First Missing Positive  Problem's Link  ---------------------------------------------------------------------------- Mean:  给你一组整数,找出第一个空缺的正整数. 要求:时间O(n),空间O(n). analyse: 这题时间O(n)想了

解决Vue请求 ‘No 'Access-Control-Allow-Origin' header is present on the requested resource’错误

如果我们用VueResouce直接请求,这样写(以豆瓣api为例): this.$http.get('https://api.douban.com//v2/movie/top250').then((response) => {this.movie = response.data;console.log(this.movie); }); 就会报错: 因为这是一个跨域的请求,不能直接

Missing Pages

题目描述 Long ago, there were periodicals called newspapers, and these newspapers were printed on paper, and people used to read them, and perhaps even share them. One unfortunate thing about this for

Missing Purpose String in Info.plist File:构建版本按钮不显示.

最近做了一个新项目,打包发布的时候,等了好长时间,构建版本的按钮就是不出现,后来登录开发者账号的邮箱,才看见苹果发过来的邮件: Dear Developer, We identified one or more issues with a recent delivery for your app, "蓝汇智能AI". Please correct the following issues, t

keras missing label unlabeled 未标注类 如何训练 如何自定义损失函数 去除未标注类 缺少标签

我从这里找到的答案: def ignore_unknown_xentropy(ytrue, ypred):return (1-ytrue[:, :, :, 0])*categorical_crossentropy(ytrue, ypred) 然后下面是我的代码: 我感觉看到这个帖子的应该都看得懂吧(其实就是懒得解释了,请看注释)  from __future__ import print_

java.lang.IllegalStateException: aidl is missing

从windows电脑上面切换到Mac上面经历了一些列的问题呀。。。关键问题还是sdk,gradle,版本不全的问题,缺这少那的。奈何下载又不给力,头大,最后终于是好了。 先来说下这个问题吧:java.lang.IllegalStateException: aidl is missing,这个问题是因为我的 compileSdkVersion buildToolsVersion targetSdk