Using D libraries with SDL. Error: "Cannot find module protobuf'

2024-08-23 Thread Nicol Farran Terra via Digitalmars-d-learn
Here is my painpoint. I am trying to make a game engine using a combination of D and Swift, my two favorite programming languages. I chose D specifically for lower level features, like stuff for Vulkan and OpenGL as a 'learning experience'. That said, I wanted to keep my dependencies minimal, b

Re: Using D libraries with SDL. Error: "Cannot find module protobuf'

2024-08-24 Thread Nicol Farran Terra via Digitalmars-d-learn
On Saturday, 24 August 2024 at 06:35:50 UTC, IchorDev wrote: On Saturday, 24 August 2024 at 00:24:12 UTC, Nicol Farran Terra wrote: I am not sure if this expected behavior, but importing this in my app.d does not work. I get an error about a missing import. You are importing `google.protobuf`,

Re: Using D libraries with SDL. Error: "Cannot find module protobuf'

2024-08-24 Thread Nicol Farran Terra via Digitalmars-d-learn
On Saturday, 24 August 2024 at 12:11:03 UTC, IchorDev wrote: snip Okay, yeah now I see my problem sort of. So now it at least builds, but it wont compile with dmd app.d. Says basically the same thing before where it cannot find the module. Maybe I am supposed to link it? I am so used to doin

Re: Using D libraries with SDL. Error: "Cannot find module protobuf'

2024-08-24 Thread Nicol Farran Terra via Digitalmars-d-learn
On Saturday, 24 August 2024 at 12:29:41 UTC, IchorDev wrote: On Saturday, 24 August 2024 at 12:24:04 UTC, Nicol Farran Terra wrote: On Saturday, 24 August 2024 at 12:11:03 UTC, IchorDev wrote: snip snip2 That isvery helpful. So sort of like Swift, running the 'build' command will just