/build.sh -install SuiteSparse -installdir "$GISBasic" 进一步看一下 Windows 下的构建脚本,主要是为了看一下 CMake 构建参数: # SuiteSparse.ps1 param( [string]$Name = "SuiteSparse-7.11.0", [string]$SourceDir = ".. " BUILD_SHARED_LIBS = "ON" SUITESPARSE_USE_FORTRAN = "ON" SUITESPARSE_C_TO_FORTRAN = "(name = "ON":强制要求在构建 SuiteSparse 时链接 BLAS/LAPACK 库。 SUITESPARSE_USE_64BIT_BLAS = "ON":启用对 64 位整数索引的 BLAS/LAPACK 接口 的支持(也称为 ILP64 模式)。
,SuiteSparse是一个产品套件,里面包含了很多图像相关的处理库,Cholmod只是其中的一部分,而且SuiteSparse目前代码都是针对Linux下的开发,没有针对Windows做 相关的操作 ,openproject ,suitesparse-metis-for-windows 工程成功生成。 同样的,原来的libblas.lib 这个库肯定是用不了,只能找64位的,在 suitesparse-metis-for-windows 下面发现了libblas.lib ,suitesparse-metis-for-windows SuiteSparse github地址: https://github.com/tzuriv/SuiteSparseExtra/tree/master/SuiteSparse https://github.com/DrTimothyAldenDavis/SuiteSparse
BLAS & LAPACK sudo apt-get install libatlas-base-dev # Eigen3 sudo apt-get install libeigen3-dev # SuiteSparse CXSparse (optional) # - If you want to build Ceres as a *static* library (the default) # you can use the SuiteSparse Ceres as a *shared* library, you must # add the following PPA: sudo add-apt-repository ppa:bzindovic/suitesparse-bugfix
-4 mbedtls-2.25.0-1 metis-5.1.0.p10-1 openblas-0.3.13-2 openlibm-0.7.5-1 suitesparse 100% tbb-2020.3-1-x86_64 393.4 KiB 8.73 MiB/s 00:00 [#############################] 100% suitesparse 6/11) 正在安装 tbb [#############################] 100% ( 7/11) 正在安装 suitesparse
笔者这里构建 Ceres Solver 使用的有依赖库有 eigen、gflags、glog、OpenBLAS 和 SuiteSparse。 DllPath = "$InstallDir/lib/ceres.lib" # 依赖库数组 $Librarys = @("eigen", "gflags", "glog", "OpenBLAS", "SuiteSparse
-4 mbedtls-2.25.0-1 metis-5.1.0.p10-1 openblas-0.3.13-2 openlibm-0.7.5-1 suitesparse 100% tbb-2020.3-1-x86_64 393.4 KiB 8.73 MiB/s 00:00 [#############################] 100% suitesparse 6/11) 正在安装 tbb [#############################] 100% ( 7/11) 正在安装 suitesparse
libgoogle-glog-dev# BLAS & LAPACKsudo apt-get install libatlas-base-dev# Eigen3sudo apt-get install libeigen3-dev# SuiteSparse CXSparse (optional)# - If you want to build Ceres as a *static* library (the default)# you can use the SuiteSparse Ceres as a *shared* library, you must# add the following PPA:sudo add-apt-repository ppa:bzindovic/suitesparse-bugfix
-4 mbedtls-2.25.0-1 metis-5.1.0.p10-1 openblas-0.3.13-2 openlibm-0.7.5-1 suitesparse 100% tbb-2020.3-1-x86_64 393.4 KiB 8.73 MiB/s 00:00 [#############################] 100% suitesparse 6/11) 正在安装 tbb [#############################] 100% ( 7/11) 正在安装 suitesparse
-4 mbedtls-2.25.0-1 metis-5.1.0.p10-1 openblas-0.3.13-2 openlibm-0.7.5-1 suitesparse 100% tbb-2020.3-1-x86_64 393.4 KiB 8.73 MiB/s 00:00 [#############################] 100% suitesparse 6/11) 正在安装 tbb [#############################] 100% ( 7/11) 正在安装 suitesparse
支持多种高度优化的稀疏线性代数库:例如SuiteSparse、Eigen等,能处理数十万参数、上百万残差项的 Bundle Adjustment 问题。
该数据集是使用SuiteSparse矩阵集合[10]中的812个方阵作为基底生成的,并对它们应用一些转换,如裁剪(类似于[11])。数据集的平均值、最小值和最大值的主要特征如表二所示。 ? C .
0.15.0-1 spice-gtk-0.39-3 sratom-0.6.8-1 srt-1.4.3-1 startup-notification-0.12-7 suitesparse
2018.11.23.1906112226 sbcl 0.0.0.1809242326 sdl 1.2.15.1809242322 sdl_image 1.2.12.1809242322 sip 4.19.8.1809242322 suitesparse