Tue, 11/12/2002 - 13:02
Forums:
Hi all.
When I call XCAFDoc_DocumentTool::IsXCAFDocument(aDoc), I get an unresolved external error when linking, yet I can happily call XCAFDoc_DocumentTool::ShapeTool(aLabel) with no link errors.
Regards
Steve Howgill
Wed, 07/30/2003 - 16:56
It's a little bug in XCAFDoc_DocumentTool.cxx:
Please replace:
Standard_Boolean IsXCAFDocument(const Handle(TDocStd_Document) D)
{
return RootLDocLMap.IsBound(D->Main().Root());
}
with
Standard_Boolean XCAFDoc_DocumentTool::IsXCAFDocument(const Handle(TDocStd_Document)& D)
{
return RootLDocLMap.IsBound(D->Main().Root());
}
and recompile TKXCAF.dsp
Regards,
Filippo Bottega