dilevin / computer-graphics-bounding-volume-hierarchy

Computer Graphics Assignment about Bounding Volume Hierarchies
6 stars 5 forks source link

build error LNK2019 #88

Open AlexProtoss opened 11 months ago

AlexProtoss commented 11 months ago

when i finish AABB tree and want to test how it run, it shows image i have tried to disable ray_intersect_triangle() by directly return false, but this error still there, so i am very confused about what's happenning and how to fix it

Zhecheng-Wang commented 11 months ago

LNK2019 in Visual Studio is a linker error during linking -- it means the linker cannot link the inverse method to the object, did you include #include <Eigen/Dense> in .cpp?

AlexProtoss commented 11 months ago

LNK2019 in Visual Studio is a linker error during linking -- it means the linker cannot link the inverse method to the object, did you include #include <Eigen/Dense> in .cpp?

Adding #include <Eigen/Dense> to my intersect function works! thank you :)