OpenCASCADE without X11 on linux?

is it possible to build OpenCASCADE on linux without X11 dependencies? I see a configure option for "--with-x" and that seems to be the default. I see some mention of an "--without-x" option but I don't see that it works. I still see X11 dependencies in lib TKService.

Denis Barbier's picture

Hello, you have to patch OCCT sources to do that. But this is available in OCE (on via a CMake build option (of course not all libraries are then built). I also tweaked the Debian package to avoid this dependency, you may have a look at those package sources (opencascade or oce).