compilation

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 Mueller's picture

Hi,

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

HTH,

Patrik

Boussaadia's picture

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

Patrik Mueller'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'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 Mueller'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'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 Mueller'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'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 Mueller'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'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's picture

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

Boussaadia's picture

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

Patrik Mueller's picture

Hi,

take a look at your personal email!

Greets,

Patrik