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

Build OCCT without Tcl/Tk third-party dependency?

Martin Blanchard's picture

Hello,

Is there a way of building OCCT without the Tcl/Tk dependency? My understanding is that the dependency is only required for Draw. I've tried (using CMake) to run a build with -DBUILD_SHARED_LIBS=NO (isn't that supposed to disable it?) but I get:

CMake Error at CMakeLists.txt:708 (message):
  Could not find headers of used third-party products:
  3RDPARTY_TCL_INCLUDE_DIR 3RDPARTY_TK_INCLUDE_DIR

I'd like to know if that's supported before digging into OCCT's CMake scripts.

Thanks a lot!

Martin

Kirill Gavrilov's picture

Have you tried disabling BUILD_MODULE_Draw?

Martin Blanchard's picture

Yep, I found that one right after posting here: -DBUILD_MODULE_Draw:BOOL=FALSE seems to be working, Thanks !