Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Despite installing libsdl_image versions 1.2 and 2, this couldn't run:

Errors loading SDL:
7FFCB50211307FFCB5021150
7FFCB50211307FFCB5021150
7FFCB50211307FFCB5021150
7FFCB50211307FFCB5021150
Errors loading SDL_Image:
7FFCB50211307FFCB5021150
7FFCB50211307FFCB5021150
7FFCB50211307FFCB5021150
7FFCB50211307FFCB5021150
7FFCB50211307FFCB5021150
7FFCB50211307FFCB5021150
Failed loading SDL_Image
object.Exception@../D2DGame/source/d2d/window/window.d(75): Failed to load SDL_Image
----------------
??:? [0x55f3be737630]
??:? [0x55f3be7405fa]
??:? [0x55f3be72877d]
??:? [0x55f3be6e0c45]
??:? [0x55f3be6e01c2]
??:? [0x55f3be6df9cb]
??:? [0x55f3be6b7052]
??:? [0x55f3be7283ff]
??:? [0x55f3be7282f7]
??:? __libc_start_main [0x7f52137f109a]
??:? [0x55f3be6aacad]

I made a debug build, could you try it out in that and send the backtrace? https://wfr.moe/fexsYv/dist.tar.gz

This probably doesn't help you.

(gdb) run
Starting program: /home/dave/Downloads/Spacing2/lgj2019 [Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Errors loading SDL:
7FFFFFFFD7387FFFFFFFD758
7FFFFFFFD7387FFFFFFFD758
7FFFFFFFD7387FFFFFFFD758
7FFFFFFFD7387FFFFFFFD758
Errors loading SDL_Image:
7FFFFFFFD7387FFFFFFFD758
7FFFFFFFD7387FFFFFFFD758
7FFFFFFFD7387FFFFFFFD758
7FFFFFFFD7387FFFFFFFD758
7FFFFFFFD7387FFFFFFFD758
7FFFFFFFD7387FFFFFFFD758
Failed loading SDL_Image
object.Exception@../D2DGame/source/d2d/window/window.d(75): Failed to load SDL_Image
----------------
??:? [0x5555556359c0]
??:? [0x55555563e98a]
??:? [0x555555626b0d]
window.d:75 [0x5555555d7fe6]
window.d:43 [0x5555555d7bba]
game.d:94 [0x5555555d698a]
app.d:105 [0x55555558ec70]
??:? [0x55555562678f]
??:? [0x555555626687]
__entrypoint.d:8 [0x5555555bfe94]
??:? __libc_start_main [0x7ffff7c0709a]
??:? [0x55555557af6d]
[Inferior 1 (process 15141) exited with code 01]
(gdb) bt
No stack.
(gdb)

Well now I know why the error messages are wrong. Try this build pls https://wfr.moe/fexwaS/dist.tar.gz

I see more debug symbols on the tail end. I verified that both libsdl-image versions 1.2 and 2.0 are installed...

Failed loading SDL_Image
object.Exception@../D2DGame/source/d2d/window/window.d(75): Failed to load SDL_Image
----------------
../D2DGame/source/d2d/window/window.d:75 d2d.window.window.Window d2d.window.window.Window.__ctor(int, int, int, int, immutable(char)[], bindbc.sdl.bind.sdlvideo.SDL_WindowFlags) [0x83749387]
../D2DGame/source/d2d/window/window.d:43 d2d.window.window.Window d2d.window.window.Window.__ctor(int, int, immutable(char)[], bindbc.sdl.bind.sdlvideo.SDL_WindowFlags) [0x83749117]
../D2DGame/source/d2d/toolkit/game.d:94 void d2d.toolkit.game.Game.run() [0x837481a3]
source/app.d:105 _Dmain [0x836ef450]