Ubuntu18.04配置ork(ecto、ecto_image_pipeline、ecto_opencv、ork_reconstruction)

一、ecto

编译错误
请添加图片描述

编译解决参考https://blog.csdn.net/ckkboy/article/details/99584987#commentBox
解决步骤:
1.修改ecto/src/lib/util.cpp

sudo gedit /home/huangqifan/ecto/src/lib/util.cpp

去掉头文件里面的 /tr1
将里面的std::tr1::unordered_map换为boost::unordered_map
在这里插入图片描述

2.修改ecto/src/lib/plasm/impl.hpp

sudo gedit /home/huangqifan/ecto/src/lib/plasm/impl.hpp

将头文件里面的 /tr1 去掉
在这里插入图片描述

二、ecto_image_pipeline

编译错误
在这里插入图片描述

编译解决参考https://stackoverflow.com/questions/7580009/gcc-error-cannot-convert-const-shared-ptr-to-bool-in-return

sudo gedit /home/huangqifan/ecto_image_pipeline/src/ecto_image_pipeline/include/ecto_image_pipeline/pinhole_camera_model.h`

  boost::shared_ptr<Cache> cache_; // Holds cached data for internal use
  bool initialized() const { return cache_; }

改为

  boost::shared_ptr<Cache> cache_; // Holds cached data for internal use
  bool initialized() const { return static_cast<bool> (cache_); }

在这里插入图片描述

三、ecto_opencv

编译错误
在这里插入图片描述

按网址https://github.com/plasmodic/ecto_opencv 点击Pull requests 进去后,点击Commits进去后点击第一个。修改/ceshi2/src/ecto_opencv/cells/cv_bp/opencv/cv_mat.cpp ,
在这里插入图片描述

或直接替换文件

git clone -b migration_To_Ubunt18.04 git://github.com/zweistein/ecto_opencv.git

再次编译还有错误
在这里插入图片描述

https://github.com/GerritTheron/openCV-contrib/blob/master/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp下载xfeatures2d.hpp

sudo cp -r '/home/huangqifan/桌面/xfeatures2d.hpp' '/usr/include/opencv2'

四、ork_reconstruction

编译错误

在这里插入图片描述
在这里插入图片描述

参考https://blog.csdn.net/xingdou520/article/details/84861434

sudo gedit /home/huangqifan/ork_reconstruction/src/PointCloudMesh.cpp

添加#include <boost/format.hpp>

  • 3
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

灞気水笵er

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值