Questions tagged [nuklear]

Nuklear is a single-header immediate-mode UI library written in C89. Use this tag for questions related to integrating it to your program or its usage.

Nuklear is a single-header immediate-mode UI library written in C89. It does not require any specific graphics API (eg. OpenGL, D3D).

7 questions
1
vote
2 answers

use raylib to render nuklear GUI failed

I try to use Nuklear with Raylib 3.5, but the rendering failed without any error message, but a white window. Since Nuklear can use with any renderer at the front end, I try to combine Raylib with Nuklear. as far as I can see, the Raylib uses OpenGL…
user3224611
  • 84
  • 1
  • 7
1
vote
0 answers

How to create simple GUI in Nuklear with minimum amount of code?

I need to create simple GUI using Nuklear and Java. I just need a couple of buttons and radio buttons. When I click on them, on the screen should appear short text. Unfortunately I found nothing about that on the Web. It wouldn't be anything hard to…
Ans
  • 47
  • 5
1
vote
3 answers

Multiple includes of header only library causing redefinition errors

I'm using a header only library called Nuklear. It's a header only library. I'm having trouble when using multiple includes from different files. It returns a multiple definition example: ... obj/main.o:main.c:(.text+0x4a52b): multiple definition of…
BugHunterUK
  • 8,346
  • 16
  • 65
  • 121
0
votes
0 answers

Compiling Nuklear project works with gcc but not g++

I tried to complile the main.c in Nuklear/demo/d3d11/ (https://github.com/Immediate-Mode-UI/Nuklear/tree/master/demo/d3d11) with gcc on the commend prompt, namely using gcc main.c -luser32 -ldxguid -ld3d11 It works perfectly. It works using the…
kgi
  • 1
  • 1
0
votes
1 answer

how to setup nuklear in a visual studio(2019) c project?

I have tried two methods to the best of my capacity: One A solution containing two projects Nuklear and Nuklear Test. Nuklear contains all of its c files and headers. Then it compiles into a static lib and have added it has reference in Nuklear…
Suvidh Jain
  • 81
  • 1
  • 4
0
votes
0 answers

Nuklear OpenGL flicker issue

I have downloaded the demo program for Nucklear in LWJGL, i've managed to compile it and have it to succesfully work. Then i've tried to implement the same code into my game engine and nothing shows up, unless i disable glClear(GL_COLOR_BUFFER_BIT).…
0
votes
1 answer

window is not shown in nuklear simple example

Hi I wrote this simple example with nuklear gui toolkit but window is not shown? What do I do? #define NK_IMPLEMENTATION #define NK_INCLUDE_DEFAULT_ALLOCATOR #define NK_INCLUDE_FONT_BAKING #define NK_INCLUDE_STANDARD_IO #include int…
samadadi
  • 3,100
  • 7
  • 25
  • 37