On Thursday, 27 March 2025 at 14:10:21 UTC, Richard (Rikki)
Andrew Cattermole wrote:
The bindbc family of packages, usually can link against a
shared library both during compilation (statically), or during
runtime (dynamically).
The import library serves no purpose if you are linking
dynami
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.
On Thursday, 27 March 2025 at 06:17:28 UTC, Claus D. Volko wrote:
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?
What do you mean
On 28/03/2025 3:06 AM, Claus D. Volko wrote:
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_libr
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
On Thursday, 27 March 2025 at 06:17:28 UTC, Claus D. Volko wrote:
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?
If you are using
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?
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