Import C under Windows 10
DLearner
bmqazwsx123 at gmail.com
Tue Apr 14 14:25:29 UTC 2026
This relates to:
```
DMD64 D Compiler v2.112.0
Copyright (C) 1999-2025 by The D Language Foundation, All Rights
Reserved written by Walter Bright
```
While trying to compile and run hello.c (ie trying out Import C):
```
#include <stdio.h>
int main()
{
printf("Hello world.\n");
return 0;
}
```
I got
```
Error: cl.exe not found. Please ensure that Visual Studio Build
Tools are installed and properly configured.
```
despite repeatedly downloading everything I could find relating
to Visual Studio 2019.
FWIW, isn't 'cl.exe' MS's _own_ C compiler - I wanted to use the
C compiler within DMD.
Ideas?
More information about the Digitalmars-d-learn
mailing list