NaughtyZZ / 3D_face_dense_registration

Towards Fine-Grained Optimal 3D Face Dense Registration: An Iterative Dividing and Diffusing Method (IJCV2023)
https://github.com/NaughtyZZ/3D_face_dense_registration/tree/main
52 stars 4 forks source link

Having trouble running code in Visual Studio #3

Closed G1Lburt closed 1 year ago

G1Lburt commented 1 year ago

I just started learning how to code and I'm sorry if these questions are dumb :( I was running the code in VS and this happened: image This is the code where the error occurred (I added std::cout << "correct" << std::endl;: to detect error): image Can you hint me on what went wrong? And for clarification, should I put template.ply here: image and put file path here: image

NaughtyZZ commented 1 year ago

I just started learning how to code and I'm sorry if these questions are dumb :( I was running the code in VS and this happened: image This is the code where the error occurred (I added std::cout << "correct" << std::endl;: to detect error): image Can you hint me on what went wrong? And for clarification, should I put template.ply here: image and put file path here: image

你好,命令参数我是这样设置的,文件目录见“./demo/ ”文件夹 template.ply 放的应该没问题,有问题请随时提出,谢谢! 36c42ad26a9578c63c51f940ed1c5d4

NaughtyZZ commented 1 year ago

另外这个依赖于eigen库和MKL库,后面我会把这些依赖说明加上去,我看你这里似乎是没有安装eigen库的问题

G1Lburt commented 1 year ago

谢谢,我安装了Eigen库,MKL库以及libigl。问题似乎出现在initialization上 image this->points(N_v, 3); 处会报错。

NaughtyZZ commented 1 year ago

eigen版本可能不支持矩阵size为0的初始化?这几行其实可以注释掉,也可以根据报错debug一下

G1Lburt commented 1 year ago

非常感谢您。现在可以运行了