Tue, 09/17/2019 - 12:01
Forums:
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
Tue, 09/17/2019 - 12:52
Have you tried disabling BUILD_MODULE_Draw?
Tue, 09/17/2019 - 14:22
Yep, I found that one right after posting here: -DBUILD_MODULE_Draw:BOOL=FALSE seems to be working, Thanks !