Just trying ImportC under Windows 10:
```
#include <stdio.h>

int main()
{
   printf("Hello world.\n");
   return 0;
}
```

Produces
```
dmd hello.c
failed launching cl.exe /P /Zc:preprocessor /PD /nologo hello.c /FIC:\D\dmd2\windows\bin64\..\..\src\druntime\import\importc.h /Fihello.i Error: C preprocess command cl.exe failed for file hello.c, exit status 1
```

Any ideas?

Best regards
  • ImportC question DLearner via Digitalmars-d-learn
    • Re: ImportC... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Imp... DLearner via Digitalmars-d-learn
        • Re:... Lance Bachmeier via Digitalmars-d-learn
          • ... DLearner via Digitalmars-d-learn
            • ... ryuukk_ via Digitalmars-d-learn
              • ... DLearner via Digitalmars-d-learn
                • ... Lance Bachmeier via Digitalmars-d-learn
                • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
                • ... Lance Bachmeier via Digitalmars-d-learn
                • ... Dennis via Digitalmars-d-learn

Reply via email to