On Tuesday, 7 February 2023 at 06:25:59 UTC, Elfstone wrote:
On Monday, 6 February 2023 at 14:35:53 UTC, bachmeier wrote:
On Monday, 6 February 2023 at 06:55:02 UTC, Elfstone wrote:
So how am I supposed to set the include path?
https://dlang.org/spec/importc.html#preprocessor
The -Ppreprocessorflag switch passes preprocessorflag to the
preprocessor.
So if you normally use `-I/foo`, you'd add `-P-I/foo`.
Thanks, it worked, but I still get the link error.
I wasn't expecting to configure include paths and link the
right libc myself. The doc says the simple "dmd hello.c" should
create "hello.exe". It must be a bug.
You need to run dmd from the developer command prompt on windows
I always found this requirement weird
From an UX point of view, what would the better experience be?
Could DMD ship with the required files? I have 0 knowledge how
the whole thing works so..