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

compilation

Boussaadia wahid's picture
Forums: 

I have choose, to work with the new version Opencascade 5.2 , but i have problem when i want to built the programme it said me
Linking...
LINK : fatal error LNK1181: cannot open input file "TKShHealingStd.lib"
Error executing link.exe.
i dont know what i should and where i can find this librery
Can you help me
Regards

Patrik Müller's picture

Hi,

try to link to "TKShHealing.lib" instead of "TKShHealingStd.lib".

HTH,

Patrik

Boussaadia wahid's picture

How can i link the new lib TKShHealing.lib ??? and where !
Regards

Patrik Müller's picture

Hi,

for VC6: take a look at "Project->Settings" from VCs menu. A dialog for the project settings wiil appear. In it take a look at the linker settings. Here you have to do the replacement.

HTH,

Patrik

Boussaadia wahid's picture

Ok for the librery it is ok now i have this problem Patrik of including file look that :
Compiling...
StdAfx.cpp
F:\wahid_pfe\pfe\Copie de projet2\StdAfx.h(68) : fatal error C1083: Cannot open include file: 'BRepAlgoAPI.hxx': No such file or directory
Error executing cl.exe.

bottle.exe - 1 error(s), 0 warning(s)
can you tell me what is the problem ?
Regards

Patrik Müller's picture

Hi,

sounds you haven't add the "inc" path from OCC to your project settings.
I suggest studying the VC help a little bit for such errors

Greets,

Patrik

Boussaadia wahid's picture

i have done the configuration ! Tools-->OPtion-->directories and i put this C:\OPENCASCADE5.2\ROS\INC i don t know it is true or not !!
but i have this problem
F:\wahid_pfe\pfe\Copie de projet2\StdAfx.h(68) : fatal error C1083: Cannot open include file: 'BRepAlgoAPI.hxx': No such file or directory
Error executing cl.exe. where can i find 'BRepAlgoAPI.hxx"
Regards

Patrik Müller's picture

Hi,

oops - my failure. Sorry.

But I have looked at the old source:
use this:
#include

and later in the source this:
myBody = BRepAlgoAPI_Fuse(myBody , myNeck);

for the bottle example...

HTH,

Patrik

Boussaadia wahid's picture

Thank s Patrik but i didin t undrestand where i should add thatand later in the source this:
myBody = BRepAlgoAPI_Fuse(myBody , myNeck); in which source i must add that !
Regards

Patrik Müller's picture

Hm,

I think it would be easier if you send me your project and I look what I can do for you. What do you think about that (I just need your email address)?

Greets,

Patrik

Boussaadia wahid's picture

ok i can send you my project which work on OCC 4.2 but i have problem to move to the new version plizz help me my email is wahid_ept@hotmail.com give me your adress

Boussaadia wahid's picture

Patrik i can send you my project which work on OCC 4.2 can you give me your email adresss ?? !

Boussaadia wahid's picture

i m waiting for your reply please send my an email !thx

Patrik Müller's picture

Hi,

take a look at your personal email!

Greets,

Patrik