Hi there,
I cloned https://git.sleeping.town/BindBC/bindbc-sdl.git to get
the latest SDL bindings for D. In addition I cloned bindbc-loader
and bindbc-common and copied the files into the appropriate
directories. Then I cloned SDL and SDL_net and built everything
in Release mode using Visual
Hi there,
I cloned https://git.sleeping.town/BindBC/bindbc-sdl.git to get
the latest SDL bindings for D. In addition I cloned bindbc-loader
and bindbc-common and copied the files into the appropriate
directories. Then I cloned SDL and SDL_net and built everything
in Release mode using Visual
I got my program to work. The DLL files had been missing and I
had to include a call to loadSDL. That was all that had to be
done. Hooray! Thanks again for your help.
It did build without errors after I removed the line
subConfiguration "bindbc-sdl" "staticBC"
from dub.sdl.
Well, I've now used dub build and am basically getting the same
issues:
C:\Users\Acer\source\repos\adokhugi\game-d>dub build
Fetching bindbc-sdl 2.1.0 (getting selected version)
Fetching bindbc-common 1.0.5 (getting selected version)
Fetching bindbc-loader 1.1.5 (gett
Well, well.
Now my code builds but it seems that the call of SDL_Init fails.
I wonder if SDL3.lib is okay since I built it myself using Visual
Studio. Maybe there is some prebuilt version available somewhere?
On Thursday, 27 March 2025 at 07:40:38 UTC, ryuukk_ wrote:
If you are using the shared library instead of the static
library, you need to load it, call the `loadSDL` function
Judging from what's written on
https://en.wikipedia.org/wiki/Shared_library it should actually
be a static library as