Immediate-Mode-UI / Immediate-Mode-UI/Nuklear

how to fix size of array '_dummy_array214' is negative error?

Open
#655 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
11.4k
Forks
686
Avg merge
4d 1h
Merged PRs (30d)
3

Description

Hi everyone,

I'm working with codeblocks and using the Nuklear SDL Renderer example. When I compile, I'm encountering an error message that states "size of array '_dummy_array214' is negative." I've tried adding NK_Implementation before Nuklear.h as suggested in previous discussions, but the error persists.

Here's some additional context that might be helpful:

Compiler: I'm using Mingw on Windows 10.

![Nuklear](https://github.com/Immediate-Mode-UI/Nuklear/assets/6318133/198e0116-6716-4b4e-9ca0-3de74ad4970f)

Contributor guide

Open the contributing guide

Research direction

Start with the Nuklear SDL Renderer example and Nuklear.h, then reproduce the reported MinGW-on-Windows compilation error. Check the example's include and implementation setup, including the attempted NK_Implementation placement. Done means identifying and documenting a verified configuration or change that allows the example to compile.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.