Easy problem

Hello all!
I want to perform a cut operatnion. So I have included in my class and
As the result of building project the following errors have apeard:

1>StdAfx.obj : error LNK2019: unresolved external symbol "public: void __thiscall BRepAlgoAPI_BooleanOperation::Destroy(void)" (?Destroy@BRepAlgoAPI_BooleanOperation@@QAEXXZ) referenced in function "public: virtual __thiscall BRepAlgoAPI_BooleanOperation::~BRepAlgoAPI_BooleanOperation(void)" (??1BRepAlgoAPI_BooleanOperation@@UAE@XZ)

and more similiar to this above. Now i now that I have to add TKBO.dll and TKBO.lib. And the question is: How?
I have already added the directories .../ros/win32/lib/ and .../ros/win32/bin.
What more I have to do to get rid of this errors?

I will be gratefull for any help.
Regards
M.

Tilman Leune's picture

You have to link to TKBO.lib specifically.

You need to add TKBO.lib to your project options, Subcategory Linker >> Input >> additional dependencies

(I don't know the exact wording as i am using a non-english version of VS

Mateusz Wnuczko's picture

Hello Tilman,
thanks a lot for your replay. Now my project works. For anyone who will face the same problem - this is the way to solve it:
Project>Preferences>(From the tree) Configuration properties>Linker>Input -> Additional dependiences and here add TKBO.lib or any you need.

Thanks again and good luck.
M.