IBM Support

Exporting a model containing sub-Blocks with ActivityDiagrams to Simulink causes linker errors

Troubleshooting


Problem

When you export a model to simulink, if the model contains sub/nested blocks with Activity Diagrams, the compiler reports multiple linker errors. []error LNK2019: unresolved external symbol "public: virtual __cdecl OMActivityManager::~OMActivityManager(void)" (??1OMActivityManager@@UEAA@XZ) error LNK2019: unresolved external symbol "public: virtual __cdecl OMActivityContext::~OMActivityContext(void)" (??1OMActivityContext@@UEAA@XZ) error LNK2001: unresolved external symbol "public: virtual void __cdecl OMActivityNode::connectOutputFlow(class OMActivityEdge &)" error LNK2001: unresolved external symbol "public: virtual void __cdecl OMAction::visit(void)" (?visit@OMAction@@UEAAXXZ)[]

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4;8.1.5;8.2;8.2.1;8.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
27 May 2022

UID

swg22016240