You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can access BVH, but the intersect function can't complie
embree::isa::BVH4Triangle4Intersector1Moeller().intersect(&(((Accel*)scene)->intersectors), rayhit, NULL);
You write that you can access the BVH, does that mean the above Embree compilation succeeds?
I just tried your combination of cmake flags under Linux and there it compiles fine. You do not need the EMBREE_ISA_AVX2=ON option, EMBREE_MAX_ISA=AVX2 already enabled AVX2.
Are you trying to additionally compile the embree::isa::BVH4Triangle4Intersector1Moeller().intersect(&(((Accel*)scene)->intersectors), rayhit, NULL); inside your application?
Please do use Embree through its API as described in an example here:
Anyone can help me, which lib missing?
Error LNK2019 unresolved external symbol "public: bool __cdecl embree::Geometry::pointQuery(struct embree::PointQueryK<1> *,struct embree::PointQueryContext *)" (?pointQuery@Geometry@embree@@QEAA_NPEAU?$PointQueryK@$00@2@PEAUPointQueryContext@2@@z),function"public: static bool __cdecl embree::avx2::ObjectIntersector1<1>::pointQuery(struct embree::PointQueryK<1> *,struct embree::PointQueryContext *,struct embree::Object const &)" (?pointQuery@?$ObjectIntersector1@$00@avx2@embree@@SA_NPEAU?$PointQueryK@$00@3@PEAUPointQueryContext@3@AEBUObject@3@@z)
The text was updated successfully, but these errors were encountered: