Skip to content

Error on Initialization with TKXCAF and TKCAF Modules: abort(Assertion failed: bad export type for _ZTI13TDF_Attribute #46

@acircuit

Description

@acircuit

When attempting to initialize OpenCascade.js with the TKXCAF and TKCAF modules, the following error is encountered:

Uncaught (in promise) RuntimeError: abort(Assertion failed: bad export type for '_ZTI13TDF_Attribute': undefined). Build with -s ASSERTIONS=1 for more info. at abort (opencascade.js:15:17694) at assert (opencascade.js:15:8129) at reportUndefinedSymbols (opencascade.js:15:31699) at postInstantiation (opencascade.js:15:28386)
Runs fine with :
import { initOpenCascade, ocCore, ocModelingAlgorithms, TKService, TKV3d, TKXSBase, TKSTEPBase, TKSTEPAttr, TKSTEP209, TKSTEP, TKIGES, } from "opencascade.js";

shows error when i add TKXCAF and TKCAF
import { initOpenCascade, ocCore, ocModelingAlgorithms, TKService, TKV3d, TKXSBase, TKSTEPBase, TKSTEPAttr, TKSTEP209, TKSTEP, TKIGES, TKXCAF, TKCAF } from "opencascade.js";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions