在Ubuntu Xenial 16.04上安装ORB_SLAM [英] ORB_SLAM installation on Ubuntu Xenial 16.04

查看:195
本文介绍了在Ubuntu Xenial 16.04上安装ORB_SLAM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在没有黑魔法的最新版本的Ubuntu(Xenial 16.04)上安装ORB_SLAM/ORB_SLAM2?我知道建议根据 https://github.com/raulmur/ORB_SLAM2 使用Ubuntu 14.04 ,但是我目前有最新版本,我真的不想更改它或将14与16一起安装.我使用OpenCV 2.4.8和ROS/catkin构建系统并得到下一个错误:

Is it possible to install ORB_SLAM/ORB_SLAM2 on last version of Ubuntu (Xenial 16.04) without black magic? I know that the recommendation is to use Ubuntu 14.04 according to https://github.com/raulmur/ORB_SLAM2, but I currently have last version and I don't really want to change it or install 14 together with 16. I use OpenCV 2.4.8 and ROS/catkin build system and get the next error:

/home/roman/ORB_SLAM2/src/Optimizer.cc:1244:1:   required from here
/usr/include/eigen3/Eigen/src/Core/util/StaticAssert.h:32:40: error: static assertion failed: YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY

这是怎么回事?谢谢.

推荐答案

我遇到了同样的问题,这对我有用.

I had this same issue, this is what worked for me.

在此处eigen 表单> https://launchpad.net/ubuntu/trusty/amd64/libeigen3-dev/3.2.0-8

下载.deb文件并使用

sudo dpkg -i libeigen3-dev_3.2.0-8_all.deb

这篇关于在Ubuntu Xenial 16.04上安装ORB_SLAM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆