digitalmars.D.learn - Can't find the loadSDLImage function
- WhatMeWorry (25/25) Mar 07 I load the SDL3 library fine, but when i try and load
- user1234 (8/16) Mar 08 The function definitions are generated using mixins, at first
- user1234 (5/23) Mar 08 rather just
- KlikBcaBisnis (2/2) Mar 10 Perumahan Alam Sutera, Jl. Alam Sutera Boulevard No.10A,
I load the SDL3 library fine, but when i try and load
SDL3_image.dll i get error:
libraries\load_sdl_libraries.d(170,22): Error: undefined
identifier `loadSDLImage`
LoadMsg imgRet = loadSDLImage();
I tried adding
import bindbc.sdl.image;
libraries\load_sdl_libraries.d(168,12): Error: unable to read
module `image`
import bindbc.sdl.image;
^
libraries\load_sdl_libraries.d(168,12): Expected
'bindbc\sdl\image.d' or 'bindbc\sdl\image\package.d' in one of
the following import paths:
import path[0] =
C:...\dub\packages\bindbc-sdl\2.3.4\bindbc-sdl\source
import path[1] =
C:...\dub\packages\bindbc-common\1.0.5\bindbc-common\source
import path[2] =
C:...\dub\packages\bindbc-loader\1.1.5\bindbc-loader\source
I've got the bindbc-sdl, -common, -loader which is all the
dependencies required by SDL.
I've even tried searching through github trying to find
loadSDLImage() function but with no success. where is this
function?
Mar 07
On Saturday, 7 March 2026 at 22:56:41 UTC, WhatMeWorry wrote:I load the SDL3 library fine, but when i try and load SDL3_image.dll i get error: [...] I've got the bindbc-sdl, -common, -loader which is all the dependencies required by SDL. I've even tried searching through github trying to find loadSDLImage() function but with no success. where is this function?The function definitions are generated using mixins, at first glance the one you are looking for has to be in sdl_image, so based on the module name: ```d import bindbc.sdl_image; ``` should be tried.
Mar 08
On Sunday, 8 March 2026 at 10:27:57 UTC, user1234 wrote:On Saturday, 7 March 2026 at 22:56:41 UTC, WhatMeWorry wrote:rather just ```d import sdl_image; ```I load the SDL3 library fine, but when i try and load SDL3_image.dll i get error: [...] I've got the bindbc-sdl, -common, -loader which is all the dependencies required by SDL. I've even tried searching through github trying to find loadSDLImage() function but with no success. where is this function?The function definitions are generated using mixins, at first glance the one you are looking for has to be in sdl_image, so based on the module name: ```d import bindbc.sdl_image; ``` should be tried.
Mar 08
Perumahan Alam Sutera, Jl. Alam Sutera Boulevard No.10A, Pakulonan, Kec. Serpong, Kota Tangerang Selatan, Banten 15325
Mar 10









user1234 <user1234 12.de> 