Re: Using bindbc-sdl with D

2025-04-04 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 26 March 2025 at 17:34:14 UTC, Claus D. Volko wrote: Could anybody please tell me what I have to do in order to get this to work? I don't know what's causing your linker errors related to bindbc-common, but I suggest you start over. Delete all of the BindBC stuff you "co

Re: Using bindbc-sdl with D

2025-03-26 Thread Andy Valencia via Digitalmars-d-learn
On Sunday, 12 March 2023 at 03:01:24 UTC, ryuukk_ wrote: So this is a dub issue? It is able to find the linker, why can't it find the preprocessor? I tried to use dub several times, and each and every attempt ended in "huh?" things like this. So I stopped trying to use dub, just bringing

Re: Using bindbc-sdl with D

2025-03-26 Thread Claus D. Volko via Digitalmars-d-learn
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

Re: Using bindbc-sdl with D

2023-03-11 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 12/03/2023 4:27 PM, idsize wrote: On Sunday, 12 March 2023 at 02:24:31 UTC, Richard (Rikki) Andrew Cattermole wrote: If you add the appropriate versions and copy the files to your project directory (including bindbc-loader) that should work however as long as you compile it in. I've never

Re: Using bindbc-sdl with D

2023-03-11 Thread idsize via Digitalmars-d-learn
On Sunday, 12 March 2023 at 02:24:31 UTC, Richard (Rikki) Andrew Cattermole wrote: If you add the appropriate versions and copy the files to your project directory (including bindbc-loader) that should work however as long as you compile it in. I've never used a package manager before so the e

Re: Using bindbc-sdl with D

2023-03-11 Thread idsize via Digitalmars-d-learn
On Sunday, 12 March 2023 at 02:52:27 UTC, ryuukk_ wrote: On Sunday, 12 March 2023 at 02:12:45 UTC, idsize wrote: [...] Hello, and welcome! Looks like the new version of that library is broken, i am having the same issue [...] Thanks! It compiled and ran your example successfully.

Re: Using bindbc-sdl with D

2023-03-11 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 12/03/2023 4:01 PM, ryuukk_ wrote: So this is a dub issue? Nope, dub is doing everything ok, this is for ImportC. It is able to find the linker, why can't it find the preprocessor? Its probably not installed. We don't ship a C toolchain, it uses the system one (MSVC, which you would nor

Re: Using bindbc-sdl with D

2023-03-11 Thread ryuukk_ via Digitalmars-d-learn
On Sunday, 12 March 2023 at 02:59:20 UTC, Richard (Rikki) Andrew Cattermole wrote: On 12/03/2023 3:24 PM, Richard (Rikki) Andrew Cattermole wrote: But ugh that error looks weird. That would imply its trying to run the C preprocessor for ImportC. That does not sound right at all, I don't see any

Re: Using bindbc-sdl with D

2023-03-11 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 12/03/2023 3:24 PM, Richard (Rikki) Andrew Cattermole wrote: But ugh that error looks weird. That would imply its trying to run the C preprocessor for ImportC. That does not sound right at all, I don't see any C headers/code in bindbc-sdl repo (not that it needs it). Gonna need to see the en

Re: Using bindbc-sdl with D

2023-03-11 Thread ryuukk_ via Digitalmars-d-learn
On Sunday, 12 March 2023 at 02:12:45 UTC, idsize wrote: I started learning D a few weeks ago and am enjoying it so far. I would like to use SDL with D and found bindbc-sdl, but I cannot figure out how to make it work. From my understanding, I'll need to use 'dub fetch bindbc-sdl' to download

Re: Using bindbc-sdl with D

2023-03-11 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 12/03/2023 3:12 PM, idsize wrote: I started learning D a few weeks ago and am enjoying it so far. I would like to use SDL with D and found bindbc-sdl, but I cannot figure out how to make it work. Welcome! From my understanding, I'll need to use 'dub fetch bindbc-sdl' to download it, and

Using bindbc-sdl with D

2023-03-11 Thread idsize via Digitalmars-d-learn
I started learning D a few weeks ago and am enjoying it so far. I would like to use SDL with D and found bindbc-sdl, but I cannot figure out how to make it work. From my understanding, I'll need to use 'dub fetch bindbc-sdl' to download it, and then run 'dub build bindbc-sdl' to build it, bef