如何解决这个问题?我在c ++文件中看到没有cholmod_camd相关的头文件我试图使用mex。
Invalid MEX-file '/home/mpelang/Desktop/APAPstitch/Image Stitching with
Bundled Moving
DLT/ceresRigidError.mexa64': /usr/local/lib/libceres.so: undefined
symbol:
cholmod_camd
答案 0 :(得分:0)
Ceres求解器需要Cholesky方法来求解线性系统。将c ++文件链接到包含cholmod_camd的库(使用-lcholmod -lmwlapack)或明确告诉ceres你没有cholmod(使用cmake构建ceres时)。请查看http://ceres-solver.org/installation.html了解如何安装Ceres-solver。