系统相关
首页 > 系统相关> > ubuntu安装openMVS遇到的问题

ubuntu安装openMVS遇到的问题

作者:互联网

问题1:

calling a __host__ function("Eigen::MatrixBase< ::Eigen::Matrix<float, (int)3, (int)3, (int)0, (int)3, (int)3> > ::inverse() const") from a __device__ function("ComputeHomography") is not allowed

解决方法:

Eigen3.3.9不行,换Eigen3.4

https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip

 

问题2:

/usr/bin/ld: CMakeFiles/InterfaceCOLMAP.dir/InterfaceCOLMAP.cpp.o: undefined reference to symbol '_ZTVN7SEACAVE6CImageE'
/usr/bin/ld: /home/zll/library/openMVS/openMVS_build/lib/libIO.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
/usr/bin/ld: CMakeFiles/InterfaceMetashape.dir/InterfaceMetashape.cpp.o: undefined reference to symbol '_ZNK8tinyxml27XMLNode17FirstChildElementEPKc'
/usr/bin/ld: /home/zll/library/openMVS/openMVS_build/lib/libIO.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

解决方法:

cmake时去掉 -DBUILD_SHARED_LIBS=ON


参考博客:https://blog.csdn.net/rdw1246010462/article/details/122219814

      https://github.com/cdcseacave/openMVS/issues/346

标签:__,bin,ld,error,usr,ubuntu,安装,openMVS
来源: https://www.cnblogs.com/zhongllmm/p/16447497.html