# Symbol in plugin not found in api: \_ZN4rack3app11CableWidgetC1Ev

**URL:** <https://forum.4ms.info/t/symbol-in-plugin-not-found-in-api-zn4rack3app11cablewidgetc1ev/1361>\
**Category:** Plugin Development\
**Created:** [April 8, 2025, 6:15pm UTC](https://forum.4ms.info/t/symbol-in-plugin-not-found-in-api-zn4rack3app11cablewidgetc1ev/1361 "2025-04-08T18:15:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![etcetc](https://forum.4ms.info/letter_avatar_proxy/v4/letter/e/b38774/32.png) [@etcetc](https://forum.4ms.info/u/etcetc)\
**Post date:** [April 8, 2025, 6:15pm UTC](https://forum.4ms.info/t/symbol-in-plugin-not-found-in-api-zn4rack3app11cablewidgetc1ev/1361/1 "2025-04-08T18:15:14Z")

</div>

I seem to be having issues with rack::app::CableWidget invocations in some VCV Rack ports.

```auto
    static void patchBetweenPorts(ModuleWidget* host,ModuleWidget* neighbour, PortWidget* output, PortWidget* input) {
        if (isPortPatched(input)) {
            WARN("can't patch to input that is already patched");
            return;
        }
        
        rack::app::CableWidget* cw = new rack::app::CableWidget;
        cw->inputPort = input;
        cw->outputPort = output;
	    cw->color = APP->scene->rack->getNextCableColor();
        cw->updateCable();
	    if (cw->isComplete())
            APP->scene->rack->addCable(cw);
    }

```

I see that CableWidget is defined in `metamodule-plugin-sdk/metamodule-rack-interface/include/app/CableWidget.hpp` - is there any reason why this symbol would be missing? It’s not redefined either by my current project

cc: @danngreen

---

<div class="post-metadata">

**Author:** ![danngreen](https://forum.4ms.info/user_avatar/forum.4ms.info/danngreen/32/14_2.png) [@danngreen](https://forum.4ms.info/u/danngreen)\
**Post date:** [April 8, 2025, 6:32pm UTC](https://forum.4ms.info/t/symbol-in-plugin-not-found-in-api-zn4rack3app11cablewidgetc1ev/1361/2 "2025-04-08T18:32:16Z")

</div>

Looks like somehow that symbol got lost in the api symbols export. I’ll fix it, thanks for finding that.
