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 IchorDev via Digitalmars-d-learn
On Saturday, 24 August 2024 at 11:34:18 UTC, Nicol Farran Terra wrote: You are importing `google.protobuf`, right? Providing the app.d would be helpful, or at least a snippet of it with the import that’s giving you the ‘error’—presumably a compiler error? No, I am just importing '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 IchorDev via Digitalmars-d-learn
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 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 canno

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

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

2024-08-24 Thread IchorDev via Digitalmars-d-learn
On Saturday, 24 August 2024 at 12:35:03 UTC, Nicol Farran Terra wrote: 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