karansher / computer-graphics-ray-casting

Computer Graphics Assignment about Ray Casting
1 stars 0 forks source link

Compile error "fatal error: 'Eigen/Core' file not found" #18

Open bruceqianzz opened 1 year ago

bruceqianzz commented 1 year ago

When I try to run make, I got this compile error "fatal error: 'Eigen/Core' file not found" and I've already installed eigen package, anyone knows how to solve this?

eon704 commented 1 year ago

I had the same issue, calling checkout with --recursive flag has fixed it for me. Hope this helps!

bruceqianzz commented 1 year ago

I had the same issue, calling checkout with --recursive flag has fixed it for me. Hope this helps!

Thanks man, it rly helps

AdityaGoyal1999 commented 1 year ago

Why does --recursive flag fix the issue?

eon704 commented 1 year ago

As I understand, the eigen folder which is present in this repository is actually a reference to the Eigen's own repository, which also needs to be cloned. Hence --recursive