Skip to content

[BUG] termbox2 demo example fails to render termbox_settings CLAY_AUTO_ID #522

@Godje

Description

@Godje

Context

I have made a couple attempts to build the termbox2-demo.

After fixing the CMakeLists.txt git checkout tags, the project did get build. However, upon execution, only one string renders:

Issue

An element with this ID was already previously declared during this layout.

Temporary fix to get the project to run

I tried to find exactly where the issue gets triggered, and after commenting/uncommenting certain components, the component that causes all this trouble is component_termbox_settings() method. When commenting out line 546 in main.c, the project builds and renders just fine.

However I assume that that component is integral to the demo, so it would be useful to have it fixed. I currently do not have enough expertise in CLAY to understand why it triggers duplicate id error.

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