Forum archiveIssue archiveInstallation and Building

Archived discussion

Build OCCT without Tcl/Tk third-party dependency?

Installation and BuildingTue, 09/17/2019 - 12:012 replies

Browse this forum
QuestionAuthor

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!

Author

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Have you tried disabling BUILD_MODULE_Draw?

02Author

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