DiscussionsIssue archiveOCCT:Configuration

Archived issue #0032553

Configuration, CMake - unable to building with ActiveTcl

CommunityOCCT:Configurationclosed4 public notes

Search issues

Description

ActiveTcl provides the following libraries:
C:\ActiveTcl\lib\tcl86t.lib
C:\ActiveTcl\lib\tk86t.lib

instead of tcl86.lib / tk86.lib expected by OCCT and generated by building open-source version of Tcl/Tk.
So that users have to rename library files to be able to build OCCT using ActiveTcl.

Note that the problem happens while building OCCT, not on configuration step which finds libraries with suffixes.
This is because of using "#pragma lib" within src/Draw/Draw.cxx.

This is not much a blocking issue, but it would be helpful to allow building OCCT with such configuration without extra file modifications.

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Thu Sep 2 09:03:55 2021 +0300

    0032553: Configuration, CMake - unable to building with ActiveTcl
    
    Removed linkage with "tcl8.6.lib" with help of pragma lib specific to msvc.
    Tcl libraries should be configured as normal external dependencies via CSF_TclLibs
    by CMake and genproj, which is already done (information was duplicated).
02Author
03Commenter 3
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17495.94000000042 / 17441.55000000031 [+0.31%]
Products
Total CPU difference: 11565.440000000113 / 11534.270000000102 [+0.27%]
Windows-64-VC14:
OCCT
Total CPU difference: 19307.140625 / 19200.421875 [+0.56%]
Products
Total CPU difference: 12917.859375 / 12874.53125 [+0.34%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
04Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records