Take the 2-minute tour ×

How can I install the C library in MinGW?

I always get some error like when I want to run some scripts:

Cannot find <clang-c/Index.h>
Please ensure libClang is installed

How do I fix this problem?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

That library is available from the LLVM project. clang is a "a C language family frontend for LLVM." I don't believe they make binary releases yet. So, you would need to check out the code using Subversion (SVN), and then build the library yourself under minGW. Please refer to the "Getting Started: Building and Running Clang" page for detailed instructions.

share|improve this answer
add comment

Your Answer


