Looking for a simple GUI library that works with Vulkan on SDL2

IchorDev zxinsworld at gmail.com
Fri Jul 4 16:45:47 UTC 2025


On Thursday, 20 February 2025 at 10:05:13 UTC, Danny Arends wrote:
> Running into some weird linker issues within 
> bindbc.common.codegen:
>
> ```
> /usr/bin/ld: 
> /home/danny/.dub/cache/betterct/~master/build/betterC-debug-gZx8lRyN8EaQ6hq_UuhHCw/betterct.o:(.data._D39TypeInfo_S6bindbc6common7codegen6FnBind6__initZ+0x30): undefined reference to `_D6bindbc6common7codegen6FnBind9__xtoHashFNbNeKxSQBvQBrQBnQBiZm'
> /usr/bin/ld: 
> /home/danny/.dub/cache/betterct/~master/build/betterC-debug-gZx8lRyN8EaQ6hq_UuhHCw/betterct.o:(.data._D39TypeInfo_S6bindbc6common7codegen6FnBind6__initZ+0x38): undefined reference to `_D6bindbc6common7codegen6FnBind11__xopEqualsMxFKxSQBwQBsQBoQBjZb'
> ```
>
> while the individual components seem to build without issue:
>
> ```
>     Building bindbc-common 1.0.5: building configuration [yesBC]
>     Building bindbc-loader 1.1.5: building configuration [yesBC]
>     Building bindbc-imgui ~master: building configuration 
> [dynamic]
>     Building bindbc-sdl 1.5.2: building configuration 
> [dynamicBC]
> ```

Sorry for the late response. I missed this post.
I see that you are building everything with BetterC enabled 
except BindBC-ImGui. Mixing BetterC and DRuntime breaks 
everything. Using the `dynamicBC` configuration should fix your 
issue.


More information about the Digitalmars-d-learn mailing list