weigao95 / surfelwarp

SurfelWarp: Efficient Non-Volumetric Dynamic Reconstruction
https://sites.google.com/view/surfelwarp/home
BSD 3-Clause "New" or "Revised" License
276 stars 71 forks source link

error: identifier "Matrix3f" is undefined #31

Closed liyiming001 closed 4 years ago

liyiming001 commented 4 years ago

Dear author: I have success to cmake the file by following the second installation guide.However something error occurred.as the following: /surfelwarp/common/common_types.h(26): error: identifier "Matrix3f" is undefined /surfelwarp/common/common_types.h(26): error: expected a ";" ... and I guess that the version of eigen or boost is incompatible with project.try some version but still error.I don't know how to solve this problem.So can you give me some advice if possible.Thanks.

weigao95 commented 4 years ago

Can you post the log from cmake?

liyiming001 commented 4 years ago

1 2 3 just like this

weigao95 commented 4 years ago

It seems the problem comes from using Eigen with CUDA. Can you try a simpler program that includes Eigen header in .cu file and make sure it works? You might need to inspect cmake cache to ensure you are testing the Eigen that produces the error you mentioned.