一Line3d
https://github.com/manhofer/Line3Dpp
boost安装:
https://blog.youkuaiyun.com/big_bit/article/details/51258895
https://jingyan.baidu.com/article/9989c746d2d51af648ecfe03.html
安装opencv2.4.10,附有下载地址:
https://blog.youkuaiyun.com/csqingchen/article/details/43968925
Eigen库安装指南
https://blog.youkuaiyun.com/laobai1015/article/details/73277773
https://www.cnblogs.com/newneul/p/8256803.html
安装Ceres:
https://blog.youkuaiyun.com/jz1570551401/article/details/78207208
RapidJSON安装
https://www.aliyun.com/jiaocheng/120841.html
tclap安装:
sudo apt-get install libtclap-dev
刚开始时boot报四个没有找到,按照:https://blog.youkuaiyun.com/landihao/article/details/78691981
没有指定路径再安装一次,重新make只剩一个错误啦。
libboost_thread错误的解决方法:将/usr/lib/x86_64-linux-gnu下面的三个文件:libboost_thread.a;libboost_thread.so;libboost_thread.so.1.58.0
分别复制到/usr/loca/lib和/usr/local/lib两个目录下,命令:sudo cp /usr/lib/x86_64-linux-gnu/libboost_thread.a /usr/local/lib
build的时候出现错误:
在optimization.cc中202行:
‘struct ceres::Solver::Options’ has no member named ‘num_linear_solver_threads’
查证之后发现是一个设置‘线性解算使用的线程数’的功能
然后果断注释掉,哈哈,编译通过啦/
第二次,用opencv3.0.0
出现:
[ 44%] Linking CXX executable runLine3Dpp_colmap
libline3Dpp.so:对‘boost::archive::detail::shared_ptr_helper::shared_ptr_helper()’未定义的引用
libline3Dpp.so:对‘boost::archive::detail::shared_ptr_helper::~shared_ptr_helper()’未定义的引用
collect2: error: ld returned 1 exit status
CMakeFiles/runLine3Dpp_colmap.dir/build.make:170: recipe for target 'runLine3Dpp_colmap' failed
make[2]: *** [runLine3Dpp_colmap] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/runLine3Dpp_colmap.dir/all' failed
make[1]: *** [CMakeFiles/runLine3Dpp_colmap.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
错误,哼,烦人。
按照https://blog.youkuaiyun.com/big_bit/article/details/51258895重新安装一次boost,指定安装路径为/usr/local/,安装完成之后,重新make ..,发现出现上面thread的错误,复制之后,cmake通过,make也通过啦。
二bundler+pmvs
直接看最下面的教程就行,前面不用看
bundler:
先来两篇教程镇楼:
系统介绍了两个库怎么用
https://blog.youkuaiyun.com/zouyu1746430162/article/details/78639469
发现一枚教程大神:http://www.cnblogs.com/weizhoupan/archive/2011/03/05/Intro_on_Bundler.html
里面前后两篇博客讲解了如何编译,同时也讲解了编译后的结果都包含什么信息。
https://www.cr173.com/html/11356_1.html
sudo apt-cache search zlib
可能有用
https://blog.youkuaiyun.com/zhangweilong219/article/details/19418427
bundler make时出现问题
https://blog.youkuaiyun.com/white__cat/article/details/28907535
configure: error: jpeglib.h not found.
解决办法:
# sudo apt-get install libjpeg-dev
测试时出现问题:明明有相应的文件,却 not found jhead 和not found sift
https://blog.youkuaiyun.com/zouyu1746430162/article/details/78639469
PMVS:
https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&tn=ubuntuu_cb&wd=Ubuntu%2016.04%E4%B8%8B%E5%AE%89%E8%A3%85Bunlder%E5%92%8CPMVS&oq=ubuntu&rsv_pq=ec781a5e00b16f6c&rsv_t=28ffu2QKEVNYxCPTfGLpLKBwFS9BPH6%2Bn8Kc5WXRH8bQlqKduw%2FnhHFwrt2xSS44Pw&rqlang=cn&rsv_enter=1&rsv_sug3=2&rsv_sug1=4&rsv_sug7=100&rsv_n=2&rsv_sug2=0&inputT=925&rsv_sug4=1457
一个可能有用的下载某一个版本的库的教程
https://zhidao.baidu.com/question/1861582747838394787.html
查看文件对应的软件包的网址
https://packages.ubuntu.com/search?suite=precise§ion=all&arch=any&keywords=libgfortran.so.3&searchon=contents
错误:
/usr/bin/ld: warning: libgfortran.so.1, needed by libblas.so.3, not found (try using -rpath or -rpath-link)
解决办法
https://blog.youkuaiyun.com/nieyongs/article/details/46815379
然而并没有彻底解决,后面又会报错:FilterNeighbor: ./pmvs2: symbol lookup error: liblapack.so.3: undefined symbol: _gfortran_copy_string
https://ubuntuforums.org/showthread.php?t=1049399
发现终极教程,和前面的资源下载地方不同,是再github上下载,异常顺滑,前面都是浮云。
https://blog.youkuaiyun.com/u013358387/article/details/71576660
安装可视化工具meshlab
https://blog.youkuaiyun.com/l297969586/article/details/52389949
三opencv_contrib
codeblocks参考博客
https://www.cnblogs.com/pk28/p/6391861.html
https://www.linuxidc.com/Linux/2017-10/148159.htm
opencv的卸载与重装
https://blog.youkuaiyun.com/yoouzx/article/details/52988094
下载地址:https://github.com/Itseez/opencv
opencv_contrib
https://blog.youkuaiyun.com/CupidYzw97/article/details/74857467
opencv路径
这篇博客有瑕疵,必须在find_package(OpenCV REQUIRED)前面加上set(OpenCV_DIR /home/licht/opencv-3.0.0/build)和set( OpenCV_FOUND 1 )
https://blog.youkuaiyun.com/ustczhang/article/details/79027655
https://ask.youkuaiyun.com/questions/250237