Skip to content

Instantly share code, notes, and snippets.

@marcuswu
Last active November 14, 2022 14:06
Show Gist options
  • Save marcuswu/5818a569e67c3b651224587c9b3f8d0d to your computer and use it in GitHub Desktop.
Save marcuswu/5818a569e67c3b651224587c9b3f8d0d to your computer and use it in GitHub Desktop.
Compile OpenCascade on Linux

Compile OpenCascade (on Linux)

Install build depdencies

  • gcc
  • g++
  • cmake (and optionally cmake curses gui)

Install opencascade dependencies

  • tcl/tk
  • ft2
  • freetype2
  • libgl (dev)

Download opencascade

opencascade.org releases

Extract and build

cd ~/src/
tar -xvzf opencascade-x.y.z.tgz
mkdir ~/src/occt
cd ~/src/occt
ccmake ~/src/opencascade/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment