Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Download the Open CASCADE Technology installation package.
    wget https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_5_0.tar.gz
  3. Decompress the Open CASCADE Technology installation package.
    tar -zxvf V7_5_0.tar.gz
  4. Go to the directory generated after the decompression.
    cd OCCT-7_5_0
  5. Create a build directory.
    mkdir build
  6. Go to the build directory.
    cd build
  7. Perform the configuration.
    cmake -DINSTALL_DIR=/path/to/OCCT -DUSE_TCL=OFF -DBUILD_MODULE_Draw=OFF -DUSE_FREETYPE=ON -D3RDPARTY_FREETYPE_DIR=/path/to/FREETYPE -DUSE_GL2PS=OFF -DUSE_FREEIMAGE=ON -D3RDPARTY_FREEIMAGE_DIR=/path/to/FREEIMGE -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ../
  8. Perform the compilation and installation.
    make -j64
    make install