Ceres安装报错“找不到要求版本3.3的Eigen3”解决方法 - 咸鱼翻身! - 博客园安装ceres提示“找不到要求版本3.3的Eigen3”解决办法 Ceres安装报错“找不到要求版本3.3的Eigen3”解决方法 - 咸鱼翻身! - 博客园
卸载原来的Eigen,安装3.3.4之后的新版本。
首先卸载Eigen,定位到相关文件,直接手动删除
sudo rm -rf /usr/include/eigen3 /usr/lib/cmake/eigen3 /usr/share/doc/libeigen3-dev /usr/share/pkgconfig/eigen3.pc /var/lib/dpkg/info/libeigen3-dev.list /var/lib/dpkg/info/libeigen3-dev.md5sums
然后下载安装3.3.4版本之后的Eigen,apt-get不能指定Eigen版本,这里推荐手动安装。
下载地址 https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.gz
安装Eigen3.3.7
mkdir build cd build cmake .. make sudo make install
apt-get安装eigen3的路径为 /usr/include/eigen3 ,这里也保持一直;此外,需使用下面命令将Eigen映射到 /usr/include 路径下,因为在很多程序中include时经常使用#include
sudo cp -r /usr/local/include/eigen3 /usr/include/eigen3 sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen编译ceres时:error: ‘integer_sequence’ is not a member of ‘std‘错误
这里换成1.14.0版本的ceres问题得以解决;
1.先删除之前的ceres-solver:
sudo rm -r /usr/local/lib/cmake/Ceres
sudo rm -rf /usr/local/include/ceres /usr/local/lib/libceres.a
sudo rm -r /usr/local/share/Ceres
2.下载ceres-solver-1.14.0
https://ceres-solver.googlesource.com/ceres-solver/+/refs/tags/1.14.0
3.解压
tar xvf ceres-solver-1.14.0.tar.gz
4.编译
cd ceres-solver-1.14.0
mkdir build
cd build
cmake ..
make -j4
sudo make install
版权声明:本文为CSDN博主「CHEGCHE」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_41586768/article/details/107541917
视觉十四讲第六章:编译ceres时:error: ‘integer_sequence’ is not a member of ‘std‘错误_CHEGCHE的博客-CSDN博客
colmap automatic_reconstructor --use_gpu 0
Segmentation fault on Google cloud instance · Issue #672 · colmap/colmap · GitHub
运行:
colmap automatic_reconstructor --workspace_path ./small_test --image_path ./small_test/images --use_gpu 0
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)