Where is XCAFDoc_DocumentTool::IsXCAFDocument(doc)

When i link my program, IsXCAFDocument(doc) can not be found. I searched the function, and can not found it in all source file.

Could anyone tell me which lib i sholud link?

Forum supervisor's picture


this problem is known to us. The reason is that in XCAFDoc_DocumentTool.cxx this method is implemented without class:: prefix. To temporary overcome the problem please remove class:: prefix in the place where you call this method. You can also remove the declaration of this method from the XCAFDoc_DocumentTool.hxx file.

Best regards,
Forum Supervisor