Using StepControl Reader

Here is my Code Snippet : 

#include <StepControl_Reader.hxx>

#include <XSControl.hxx>

int main() {

STEPControl_Reader reader;

return 0;}

But I get : 

Error LNK2001 unresolved external symbol "public: virtual int __cdecl XSControl_Reader::NbRootsForTransfer(void)" (?NbRootsForTransfer@XSControl_Reader@@UEAAHXZ) 

crsundar_161060's picture

Thank you tawfik boujeh.

May I request you to kindly elaborate.

How to use this code snippet.

Kirill Gavrilov's picture

The missing symbol indicates that sample code has not been linked to the necessary OCCT libraries - TKXSBase.lib in this particular case.

crsundar_161060's picture

Thank you Kirill Gavrilov. I am learning. But I do need help.


CR Sundar