MantisBT - Open CASCADE
View Issue Details
0027639Open CASCADE[OCCT] OCCT:Configurationpublic2016-06-24 16:562016-12-09 16:38
[OCCT] 7.1.0[OCCT] 7.1.0 
0027639: Add possibility to build OCCT 7X without TCL/TK
This bug came from SALOME project.

It is possible to build OCCT 6X without TCL/TK third-party products using automake build system (--without-tk and --without-tcl options).
But it is impossible to build OCCT-7.0.0 without TCL/TK using CMake. It is necessary to add such option(s) to the CMake build system.
• exclude DRAW module from building
• build and install occt
Result: files were not created in install and binary folders
Note: Target version for this issue is 7.1.0, but firstly we need a patch for OCCT-7.0.0, because it is very important for the customer.
No tags attached.
Issue History
2016-06-24 16:56rnvNew Issue
2016-06-24 16:56rnvAssigned To => bugmaster
2016-06-24 17:03rnvSummaryAdd posibility to build OCCT 7X without TCL/TK => Add possibility to build OCCT 7X without TCL/TK
2016-06-24 18:17vsrNote Added: 0055470
2016-06-24 18:17vsrAssigned Tobugmaster => abv
2016-06-24 18:17vsrStatusnew => feedback
2016-06-24 18:23abvNote Added: 0055471
2016-06-24 18:23abvAssigned Toabv => ski
2016-06-24 18:23abvStatusfeedback => assigned
2016-06-27 14:53gitNote Added: 0055494
2016-06-27 14:57skiNote Added: 0055495
2016-06-27 14:57skiAssigned Toski => ibs
2016-06-27 14:57skiStatusassigned => resolved
2016-06-27 14:57skiSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14060#r14060
2016-06-28 16:50ibsNote Added: 0055546
2016-06-28 16:50ibsAssigned Toibs => bugmaster
2016-06-28 16:50ibsStatusresolved => reviewed
2016-07-05 11:26gitNote Added: 0055684
2016-07-06 16:14bugmasterStatusreviewed => tested
2016-07-08 11:57bugmasterChangeset attached => occt master 3eabbe1b
2016-07-08 11:57bugmasterStatustested => verified
2016-07-08 11:57bugmasterResolutionopen => fixed
2016-07-22 10:44gitNote Added: 0056122
2016-12-09 16:31aivStatusverified => closed
2016-12-09 16:38aivFixed in Version => 7.1.0

2016-06-24 18:17   
Sorry, colleagues, this was just a misunderstanding.

In fact, it is possible to build OCCT 7.0 without tcl/tk features; it is just necessary to use -DBUILD_MODULE_Draw=OFF option.

Sorry for disturbing.

The only remaining point that might need a minor correction is that even with this option the resulting "bin" directory contains script which is redundant since there is no DRAWEXE executable there.

It is OK to thus close this issue (please decide if it's necessary to fix the bug with script).
2016-06-24 18:23   
Sergey, please fix the issue with installing
2016-06-27 14:53   
Branch CR27639 has been created by ski.

SHA-1: 0b0172ce4f2cd20c901addbed460b7f05640783f

Detailed log of new commits:

Author: ski
Date: Mon Jun 27 14:53:53 2016 +0300

    0027639: Add possibility to build OCCT 7X without TCL/TK
    draw.bat/sh files will not be generated/installed to binary/install directories if DRAWEXE toolkit is excluded from build.
2016-06-27 14:57   
Dear ibs,

please review occt branch CR27639.

generating and installation of files were excluded if DRAWEXE toolkit will not be built.
2016-06-28 16:50   
dear bugmaster,
there are no remarks
2016-07-05 11:26   
Branch CR27639 has been updated forcibly by inv.

SHA-1: 3eabbe1b4e2c8805eb24fcac0c422f42274aea8b
2016-07-22 10:44   
Branch CR27639 has been deleted by inv.

SHA-1: 3eabbe1b4e2c8805eb24fcac0c422f42274aea8b