[OpenCascade issue] error LNK2019: unresolved external symbol

Unable to resolve function defined in 'Occ' library

question

insert image description here

Solution

It was found that although the inc directory and lib directory were added to the project when the project was created, the name of the library was not written
in the project property page/Linker/Input/Additional Dependencies.
Add the following file names of the lib directory to it:

TKxxx.lib

That’s it

Guess you like

Origin blog.csdn.net/weixin_41243045/article/details/89764164