For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

OpenCASCADE without X11 on linux?

Tod Courtney's picture

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).