Open Cascade issue in Ubuntu 22.04.2 LTS


I want to know how I can update the ngsolve in Ubuntu 22.04.2 LTS so that it installs Open Cascade for Netgen.
I tried to do the following OpenCascade Dependency - Kunena.

Using the installer you should have opencascade included. Or what do you mean?


I don’t understand why but It’s not installed in NGSolve , when I run a code that contains a occ geometry it gives me error bc it doesn’t has this library

Hello Dori,

if need ngsolve from source with OCC add the following flags to your cmake script:

If you install ngsolve from pip it should be included.