opencascade

Open CASCADE Technology (OCCT) is an open-source software development platform for 3D CAD, CAM, CAE.

Latest version: 7.9.1

Add to xmake.lua

add_requires("opencascade 7.9.1")

Learn how to add and link packages with Xmake →

Information

License
LGPL-2.1
Recipe updated
2025-06-22T00:48:19.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

application_framework
Build Application Framework module. · Type: boolean · Default: true
cxx_standard
Select c++ standard to build. · Type: string · Default: 11 · Values: 11, 14, 17, 20, 23
d3d9
Build with D3D9 support. · Type: boolean · Default: false
data_exchange
Build Data Exchange module. · Type: boolean · Default: true
de_tools
Build Data Exchange Tools module. · Type: boolean · Default: true
draco
Build with Draco support. · Type: boolean · Default: false
draw
Build DRAW Test Harness and related modules. · Type: boolean · Default: false
extended_debug_messages
Enable extended debug messages in Debug builds. · Type: boolean · Default: false
ffmpeg
Build with FFMPEG support. · Type: boolean · Default: false
foundation_classes
Build Foundation Classes module. · Type: boolean · Default: true
freeimage
Build with FreeImage support. · Type: boolean · Default: false
freetype
Build with FreeType support. · Type: boolean · Default: false
gles2
Build with OpenGL ES support. · Type: boolean · Default: false
modeling_algorithms
Build Modeling Algorithms module. · Type: boolean · Default: true
modeling_data
Build Modeling Data module. · Type: boolean · Default: true
opengl
Build with OpenGL support. · Type: boolean · Default: false
openvr
Build with OpenVR support. · Type: boolean · Default: false
rapidjson
Build with RapidJSON support. · Type: boolean · Default: false
tbb
Build with TBB support. · Type: boolean · Default: false
tk
Build with TK support for DRAW. · Type: boolean · Default: false
visualization
Build Visualization module. · Type: boolean · Default: true
vtk
Build with VTK support. · Type: boolean · Default: false

Versions

  • 7.9.1

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "opencascade 7.9.1"

show info

xrepo info "opencascade"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("opencascade 7.9.1")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("opencascade")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "opencascade 7.9.1" shell