一、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>
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/414013.html
標籤:其他
