a link problem about the usage of BOPTools_AlgoTools3D

Dear all,

I've encounter a linker problem LNK2001 when using BOPTools_AlgoTools3D::GetNormalToSurface.

unresolved external symbol "public: static bool __cdecl BOPTools_AlgoTools3D::GetNormalToSurface(class opencascade::handle<class Geom_Surface> const &,double,double,class gp_Dir &)" (?GetNormalToSurface@BOPTools_AlgoTools3D@@SA_NAEBV?$handle@VGeom_Surface@@@opencascade@@NNAEAVgp_Dir@@@Z)"

I guess I've missed a DLL or something. Can anyone help me with this?

Thanks a lot.

gkv311 n's picture

You should link to TKBO toolkit for using this method.

Note that most places suggest using GeomLib::NormEstim() for calculation of estimated surface normal, which would handle tricky cases - you probably want this method instead.

Boqing Dong's picture

Thank you very much, gkv311 n!