For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

OCC link error in c++ using vs2017

Trick Xu's picture

I am a newbie to Open Cascade.After building occt-7.3.0-vc14-64 with cmake with no error, i added inc/ in Include Directories and added win64/vc14/libd/ in Library Directories, then added only "include<STEPControl_Reader>" in main.cpp. But after clicked debug button, i got link error as following:

    Error LNK2019 unresolved external symbol "public: __cdecl 

    Standard_OutOfMemory::Standard_OutOfMemory(char const * const)" (?? 

    0Standard_OutOfMemory@@QEAA@QEBD@Z) referenced in function "public: 

    void __cdecl Standard_OutOfMemory::`default constructor closure'(void)" 


What else should have be done?

Thanks for any help.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.