Fri, 09/21/2012 - 20:27
Forums:
Hi,
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 ...
Mon, 09/24/2012 - 13:40
Dear MIke,
1) Download Open CASCADE Technology installation procedure for Windows:
OpenCASCADE653.exe (102 531 072 bytes) ==> http://www.opencascade.org/getocc/download/loadocc/
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.
Regards
Wed, 09/26/2012 - 17:20
Thanks!
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?
Wed, 09/26/2012 - 19: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.
Regards
Tue, 10/16/2012 - 22:14
Ok. You mean that I have not to download the 3rdpartytools because I read in the documentation that I must download that tools.
Wed, 10/17/2012 - 13: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
..."
Regards
Wed, 10/17/2012 - 23: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 ...
Fri, 10/19/2012 - 13:41
I read the readme for the mfc samples. But to work with this samples I must read the occt installation???
Fri, 10/19/2012 - 16: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.
Regards
Fri, 10/19/2012 - 19: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. ... ?!?!
Fri, 10/19/2012 - 20: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'.
Regards
Mon, 10/22/2012 - 14:08
I read this but cannot find this lines in env.bat:
set CASROOT=V:\OpenCASCADE\ros
set PATH=%CASROOT%\win32\vc8\bin;%CASROOT%\..\3rdparty\win32\tcltk\bin; ;%CASROOT%\..\3rdparty\win32\tbb\bin;%CASROOT%\..\3rdparty\win32\gl2ps\bin;
%CASROOT%\..\3rdparty\win32\ftgl\bin;%CASROOT%\..\3rdparty\win32\ftgl\freeimage;%PATH%
Mon, 10/22/2012 - 16: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 http://www.opencascade.org/about/contacts/.
Regards
Mon, 10/22/2012 - 22: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 "SCRIPTROOT=%SCRIPTROOT:~0,-1%"
set "CASROOT="
My new line ist:
set "SCRIPTROOT=%SCRIPTROOT:~0,-1%"
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 info22@online.de
Sat, 11/10/2018 - 17:00
Hallo,
i need help.
i would like to install OpenCascade in Windows 10 an i don´t know how to precede.
by the way i have to open some Geometry in OpenCascade throught Code in Java.
i hope you understand what i mean!
Thanks
Thu, 03/16/2023 - 12:52
hey,
I am having the same issue.
I have downloaded the OPENCASCADE trying to build my Java project which runs with Maven. Did you have any luck regarding this?
Thu, 03/16/2023 - 13:13
Hello.
You can load prepared packages using this:Download - Open CASCADE Technology.
The other way - build by myself using this:Build OCCT - Open CASCADE Technology Documentation.
If you have any quastion, let me know.
Best regards, Dmitrii.
Thu, 06/13/2019 - 18:02
I'm sorry, but I don't know Java.
Mon, 11/18/2019 - 14:57
Is it possible to add 32 bit possibility for version 7.4 ?
Mon, 06/22/2020 - 11:41
is there any video tutorial for open cascade installation ??
Thanks