Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

OCCT Installation

OCCT Installation
MIke 2012/09/21 18:27
I would like to use the OpenCascade Lib for antoher project for a part comparison (intersection).

Can you tell my how to install OpenCascade (Windows 7 and Visual Studio 10)?

At first I would like to compile the bottle-sample. Can you tell me the must important steps. I'm a beginner ...
Forum supervisor 2012/09/24 11:40
Dear MIke,
1) Download Open CASCADE Technology installation procedure for Windows:
OpenCASCADE653.exe (102 531 072 bytes) ==>
2)Run just downloaded 'OpenCASCADE653.exe' and follow the instructions.
Open CASCADE Technology with binaries precompiled by Visual C++ 2008 will be installed.
3)Find at "OpenCascade653\doc\overview\" index.htm file and open it.
4) Learn documentation at the chapters "Welcome to Open CASCADE Technology\Open CASCADE Technology Installation " and "Welcome to Open CASCADE Technology\Building Modules"

It will give your idea how to build OCCT with VisualStudio 2010.

MIke 2012/09/26 15:20
But I read in the documentation that I must install the 3rdpartytools. But in the c://opencascade/3rdparty are all of this tools? whats the difference?
Forum supervisor 2012/09/26 17:38
Dear MIke,
In the ..//opencascade/3rdparty are all tools built for environment configuration: {vc9, vin32, Release}.
If you need another environment configuration you should first rebuild 3dparty tools to satisfy your new settings.
MIke 2012/10/16 20:14
Ok. You mean that I have not to download the 3rdpartytools because I read in the documentation that I must download that tools.
Forum supervisor 2012/10/17 11:06
Dear MIke,
If you want to rebuild 3dparty products for another configuration you should have for sure sources.
It means that first you should download the corresponding produts.
You can find the detailed instruction in 'html' documentation. See chapter "Welcome to Open CASCADE Technology/Building Modules/Third-party products":
Please, use the following instructions for building of third-party products:
- On Windows
MIke 2012/10/17 21:59
Ok thanks. At first I use VC8. It is easy for me. Now I'm searching for the lib for boolean operations on b-reps: I have B-Reps in an prc-file and need an geometrical comparsion for b-rep ...
MIke 2012/10/19 11:41
I read the readme for the mfc samples. But to work with this samples I must read the occt installation???
Forum supervisor 2012/10/19 14:00
Dear MIke,
Samples are part of OCCT public release and are based on OCCT libraries.
See for details chapter "Open CASCADE Technology Installation"
I do hope it may help you to find answers to your questions.
MIke 2012/10/19 17:59
I don't understand the party with path env. variable. I start for example the vc9***.sln and start debugging. I see Link Error TKernel.dll etc. ... ?!?!
Forum supervisor 2012/10/19 18:22
Dear MIke,
The chapter ".../Open CASCADE Technology Installation/System Environment Variables" provides
comprehensive representation of the used environment variables. Just read it carefully.
Inspect, please also files 'msvc.bat' and 'env.bat' from "..\OCCT653\ros\" sub-directory.
I do hope it will give you all necessary information. 'msvc.bat' file is used to start correspnding Visual Studio. See description of the used parameters in comments of the file 'env.bat'.
MIke 2012/10/22 12:08
I read this but cannot find this lines in env.bat:

set CASROOT=V:\OpenCASCADE<version_number>\ros

set PATH=%CASROOT%\win32\vc8\bin;%CASROOT%\..\3rdparty\win32\tcltk\bin; ;%CASROOT%\..\3rdparty\win32\tbb\bin;%CASROOT%\..\3rdparty\win32\gl2ps\bin;

Forum supervisor 2012/10/22 14:09
Dear MIke,
Your problems are hardly understandable.
'CASROOT' variable is defined in 'env.bat' file located at '...\OpenCASCADE\ros\' sub-directory.
I just checked samples compilation. It perfectly works.
See step '3. Modifying and rebuilding samples:' at the 'readme.txt' file located at this directory.
Print line like it suggested in this step, for example (if you are going to use vc8):
msvc.bat vc8 win32 Debug
Your Visual Studio 2005 will be launched.
If you need vc10, just replace it in the mentioned command:
msvc.bat vc10 win32 Debug
Note. You should understand that if you want to use 'vc8' or 'vc10' (which are not default compilers for version OCCT6.5.3) you without doubt should
- first build '3dparty' products
- and after build OCCT6.5.3 for chosen configuration.

If you will not succeed I suggest you to contact us via the Contact Form
MIke 2012/10/22 20:40
Now I hope I understand it.
A have Visual Studio 2008 --> VC9, Win32
1. I open C:/OpenCASCADE/ros/env.bat and change this line:
set "CASROOT="
My new line ist:
set "CASROOT=C:\OpenCASCADE\ros"

2. Open mscv.bat
3. Compile in VC9.
1>TKernel - 0 Fehler, 4 Warnung(en)
========== Erstellen: 1 erfolgreich, Fehler bei 0, 0 aktuell, 0 übersprungen ==========

I think it works ...

And now? I would liek to use the lib. for another project. I have prc-files with an B-Rep-Modell and want to do a comparison of two geometric models. And I read that OpenCascade supports B-Rep and boolean operation. You can answer me via
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map