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

原创文章,作者:wure,如若转载,请注明出处:https://blog.ytso.com/tech/aiops/271681.html

(0)
上一篇 2022年7月6日 01:04
下一篇 2022年7月6日 01:04

相关推荐

发表回复

登录后才能评论