chensong1995 / HybridPose

HybridPose: 6D Object Pose Estimation under Hybrid Representation (CVPR 2020)
MIT License
418 stars 64 forks source link

Cannot Compile The Pose Regressor #10

Closed H19012 closed 4 years ago

H19012 commented 4 years ago

I have been trying to compile the Pose Regressor but I'm getting errors like "error: ‘Eigen::Vector4d’ has no member named ‘head’." I have made sure to use eigen3 in the include of the Makefile ( -I /usr/include/eigen3). But I'm still getting these errors with Eigen.

chensong1995 commented 4 years ago

Hello Hiperdyne19012,

Thanks for trying out our code!

You do not have to make any modifications to the Makefile. Please try cloning our repository using git clone --recurse-submodules git@github.com:chensong1995/HybridPose.git. The --recurse-submodules option automatically downloads Eigen to the directory recognizable by the Makefile.

Let me know if this solves the problem.

H19012 commented 4 years ago

Hello Hiperdyne19012,

Thanks for trying out our code!

You do not have to make any modifications to the Makefile. Please try cloning our repository using git clone --recurse-submodules git@github.com:chensong1995/HybridPose.git. The --recurse-submodules option automatically downloads Eigen to the directory recognizable by the Makefile.

Let me know if this solves the problem.

Thanks it worked. I had configure the SSH Keys (https://stackoverflow.com/questions/2643502/how-to-solve-permission-denied-publickey-error-when-using-git).