Open KrsKonst opened 1 year ago
Also both dub run --build-mode separate
and dub run
are creating Untitled_space_game
file in project root. And when I'm trying to run it, I'm getting
Warning: no "settings.conf" found
Warning: no "input.conf" found
Segmentation fault (core dumped)
And running project binary with gdb tells that the problem is in nk_init for some reason
$ gdb ./Untitled_space_game
Reading symbols from ./Untitled_space_game...
(gdb) run ./Untitled_space_game
Starting program: /path/to/game/project/Untitled_space_game ./Untitled_space_game
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Warning: no "settings.conf" found
[New Thread 0x7ffff6b46640 (LWP 1620906)]
[New Thread 0x7fffec08a640 (LWP 1620908)]
[New Thread 0x7fffeb748640 (LWP 1620909)]
[New Thread 0x7fffeaf47640 (LWP 1620910)]
[New Thread 0x7fffea746640 (LWP 1620911)]
[New Thread 0x7fffe9f45640 (LWP 1620912)]
[New Thread 0x7fffe9744640 (LWP 1620913)]
[New Thread 0x7fffe8f43640 (LWP 1620914)]
[New Thread 0x7fffcbfff640 (LWP 1620915)]
[New Thread 0x7fffcb7fe640 (LWP 1620916)]
[New Thread 0x7fffcaffd640 (LWP 1620917)]
[New Thread 0x7fffca7fc640 (LWP 1620918)]
[New Thread 0x7fffc9ffb640 (LWP 1620919)]
[New Thread 0x7fffc97fa640 (LWP 1620920)]
[Thread 0x7fffc97fa640 (LWP 1620920) exited]
[New Thread 0x7fffc97fa640 (LWP 1620921)]
[Thread 0x7fffc97fa640 (LWP 1620921) exited]
[New Thread 0x7fffe8142640 (LWP 1620922)]
[New Thread 0x7fffc97fa640 (LWP 1620923)]
[Thread 0x7fffc97fa640 (LWP 1620923) exited]
[New Thread 0x7fffc97fa640 (LWP 1620924)]
Warning: no "input.conf" found
[New Thread 0x7fffc8ff9640 (LWP 1620925)]
[Thread 0x7fffc8ff9640 (LWP 1620925) exited]
Thread 1 "Untitled_space_" received signal SIGSEGV, Segmentation fault.
0x0000555555a9aa70 in nk_init ()
I've replicated this on Mint 21.2 (Ubuntu 22.04 LTS). Must be something broken in libnuklear
Hello, I'm trying to run a tutorial project from here. And I'm keep getting the "Program exited with code -11" error. What I have for now:
project structure
dub.json
/usr/local/lib (Nuklear libraries are installed as mentioned in readme)
unit tests for dagon:nuklear are fine
dub run --build-mode separate --force
I've also tried to change dub.json that way, so it would be more like that
but I'm getting the same error
System: 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux dmd --version: DMD64 D Compiler v2.101.1
Thanks in advance for reply.