diff --git a/INSTALL.md b/INSTALL.md index 33b93e70f..7be60dd00 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,4 +1,4 @@ -# Building pythonOCC 7.8.1 - Complete Guide for Linux and Windows +# Building pythonOCC 7.8.1.1 - Complete Guide for Linux and Windows ## Table of Contents - [Linux Build Guide](#linux-build-guide) @@ -35,12 +35,12 @@ Before starting the build process, ensure your system meets these requirements: ## System Requirements (Linux) -pythonOCC 7.8.1 requires the following components: +pythonOCC 7.8.1.1 requires the following components: | Component | Version | Purpose | |-----------|---------|---------| | Python | ≥ 3.9 | Runtime environment | -| OpenCascade | 7.8.1 | Core CAD functionality | +| OpenCascade | 7.8.1.1 | Core CAD functionality | | SWIG | 4.2.1 | Interface generation | | CMake | ≥ 3.1 | Build system | @@ -85,12 +85,12 @@ sudo make install ### 3. Building OpenCascade (Linux) -Download and extract OpenCascade 7.8.1: +Download and extract OpenCascade 7.8.1.1: ```bash wget https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_8_1.tar.gz tar -xvzf V7_8_1.tar.gz -cd OCCT-7.8.1 +cd OCCT-7.8.1.1 mkdir cmake-build cd cmake-build ``` @@ -163,7 +163,7 @@ Before starting the build process, ensure your system meets these requirements: | Git | Latest | [Download](https://git-scm.com/download/win) | | RapidJSON | Latest | [Download](https://github.com/Tencent/rapidjson.git) | | SWIG | 4.2.1 | [Download](http://www.swig.org/download.html) | -| OpenCascade | 7.8.1 | [Download](https://dev.opencascade.org/download) | +| OpenCascade | 7.8.1.1 | [Download](https://dev.opencascade.org/download) | ## Build Process (Windows) @@ -201,18 +201,18 @@ Binaries for dependencies can be downloaded at https://dev.opencascade.org/resou ### 2. Installing OpenCascade (Windows) -1. Download OpenCascade 7.8.1 for Windows -2. Extract to, for example, occt-7.8.1 +1. Download OpenCascade 7.8.1.1 for Windows +2. Extract to, for example, occt-7.8.1.1 If the binaries are not available, consider compiling by yourself OCCT on Windows. Refer to the official OpenCascade Technology documentation https://dev.opencascade.org/doc/overview/html/build_upgrade.html When installing OpenCascade and third-party libraries, you should have a structure similar to the one described at https://dev.opencascade.org/doc/overview/html/index.html#intro_install_windows -C:\OpenCASCADE-7.8.1-vc10-64 +C:\OpenCASCADE-7.8.1.1-vc10-64 ├── ffmpeg-3.3.4-gpl-64 ├── freeimage-3.17.0-vc10-64 ├── freetype-2.6.3-vc10-64 -├── occt-7.8.1 +├── occt-7.8.1.1 ├── qt486-vc10-64 ├── tclkit-86-64 ├── vtk-6.1.0-vc10-64 @@ -236,16 +236,16 @@ cd cmake-build ```batch cmake -G "Visual Studio 16 2019" -A x64 ^ -DCMAKE_BUILD_TYPE=Release ^ - -DOCCT_INCLUDE_DIR=C:\OpenCASCADE-7.8.1-vc10-64\occt-7.8.1\inc ^ - -DOCCT_LIBRARY_DIR=C:\OpenCASCADE-7.8.1-vc10-64\occt-7.8.1\win64\vc14\lib ^ - -DOCCT_ESSENTIALS_ROOT=C:\OpenCASCADE-7.8.1-vc10-64 + -DOCCT_INCLUDE_DIR=C:\OpenCASCADE-7.8.1.1-vc10-64\occt-7.8.1.1\inc ^ + -DOCCT_LIBRARY_DIR=C:\OpenCASCADE-7.8.1.1-vc10-64\occt-7.8.1.1\win64\vc14\lib ^ + -DOCCT_ESSENTIALS_ROOT=C:\OpenCASCADE-7.8.1.1-vc10-64 .. ``` If using CMake GUI, make sure to set these two variables before clicking the "Generate" button: ``` -OCCT_INCLUDE_DIR=C:\OpenCASCADE-7.8.1-vc10-64\occt-7.8.1\inc -OCCT_LIBRARY_DIR=C:\OpenCASCADE-7.8.1-vc10-64\occt-7.8.1\win64\vc14\lib +OCCT_INCLUDE_DIR=C:\OpenCASCADE-7.8.1.1-vc10-64\occt-7.8.1.1\inc +OCCT_LIBRARY_DIR=C:\OpenCASCADE-7.8.1.1-vc10-64\occt-7.8.1.1\win64\vc14\lib ``` 4. Build: