一、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
编译错误
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>