Skip to content

Newer version of OpenCascade #170

@AugustusGreenwood

Description

@AugustusGreenwood

Problem

The newer versions of OCC reworked some of their library functionality into different libraries. FEBioStudio currently loads the following libraries that are no longer offered with that name:

  • TKSTL
  • TKIGES
  • TKSTEP
  • TKSTEPBase

They have been replaced with the following (up to the current development version 7.9.0):

  • TKDEIGES
  • TKDESTEP
  • TKDESTL

Proposed fix

I made the change on this line (155) in the CMakeLists.txt file to successfully build and run with the new version:

- set(OCCT_LIB_NAMES TKernel TKGeomBase TKTopAlgo TKPrim TKMesh TKMath TKBRep TKSTL TKFillet TKBO TKIGES TKSTEP TKSTEPBase TKXSBase TKG3d TKLCAF TKVCAF)
+ set(OCCT_LIB_NAMES TKernel TKGeomBase TKTopAlgo TKPrim TKMesh TKMath TKBRep TKFillet TKBO TKXSBase TKG3d TKLCAF TKVCAF TKDEIGES TKDESTEP TKDESTL)

With the proposed fix I was able to load, save and merge OCC objects with no other major changes to the codebase.

Would there be any interest in merging a pull request with this change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions