Installation - Linking OCC to VC++

Hi All,
I am attaching the file which is a step by step guide to the changes required to make once you install, Microsoft VC++ and Open Cascade on your System.

God Bless

maqcsmaqcs's picture


I looked at the settings that you apply, and have a few suggestions:

Instead of adding directories that reference c:\opencas...\inc change this to use the environment variable CASROOT, i.e. $(CASROOT)\ros\inc and $(CASROOT)\ros\lib

Also in steps 17 & 18 you copy the release libs and dlls into the debug folder. This will work for quickness, but if you can spare the time I'd rebuild OpenCascade in debug and release. Also if you do when you build tkstep remove the wsock32.lib from the linker options otherwise you'll have problems when you running on 64bit windows. Search on the forums for wsock32 for my post about this.



Sinan Gurbuz's picture

Hi Jomy,

I can't accsess your txt document. Could you help me with this?


Forum supervisor's picture

Dear Sinan,

There was a problem with downloading of attachments.
It should work now, please try.


Sinan Gurbuz's picture


Thank you for contributions. But I can't understand this procedure like hundreds of people that try to use OCC library.

It will continue to be a black box until preparation of startup tutorial for a newbie.

Thanks again...