目录
1. Failed to connect to ceres-solver.google.com port 443
2. OpenSSL SSL_read: Connection was reset, errno 10054
3. Maybe need administrative privileges
4. 'LocalParameterization’ in namespace ‘ceres’ does not name a type
写在前面
众所周知,ceres是SLAM工具链里很重要的一个库,每次安装都不顺利。
为方便工作,这里总结了高频问题,避免重复掉坑。
1. Failed to connect to ceres-solver.google.com port 443
直接使用官方提供的连接进行git clone
git clone https://ceres-solver.googlesource.com/ceres-solver
你大概率会得到如下结果。
解决办法:更换源
git clone https://github.com/ceres-solver/ceres-solver.git
2. OpenSSL SSL_read: Connection was reset, errno 10054
git 报错信息:OpenSSL SSL_read: Connection was reset, errno 10054
一般在ubuntu下不会出现这个问题。在Windows下,有可能。
这是服务器的SSL证书没有经过第三方机构的签署,所以报错。错误原因可能是网络不稳定,连接超时造成的,如果你试了多次还是报这个错误,建议你执行下面的命令。
解决办法:解除SSL认证
git config --global http.sslVerify "false"
git config --global https.sslVerify "false"
3. Maybe need administrative privileges
可能当你执行make install时遇到这个问题: