I’m not sure if this is the correct place to email for this kind of thing, but I couldn’t find any other contact info. Also, I am new to llvm, so please try to be understanding.
I keep getting an error when I try to compile a simple Hello World program (as a test)(error included below).
The error is:
Clang: warning: unable to find a Visual Studio installation; try running Clang from a developer command prompt [-Wmsvc-not-found]
hello.c:1:10: fatal error: ‘string.h’ file not found
1 error generated
It looks as if Clang is looking for a Visual Studio installation for missing C library headers (string.h, stdio.h, math.h, etc.). Does Clang/llvm come with C library headers? If not, where can I get them? I don’t want to install Visual Studio because (to my understanding) it’s proprietary software. I’ve included the program I’m trying to compile (hello.c) below.