[LLVMdev] Building llvm ( clang ) samples.c problem

Edward Diener eldlistmailingz at tropicsoft.com
Mon Jul 4 19:38:22 PDT 2011

I am building llvm, with clang, on Mingw in Windows and eventually ran 
into this error:

"llvm[4]: Compiling sample.c for Debug+Asserts build
fatal error: sample.h: No such file or directory
compilation terminated."

Looking at sample.c I see:

#include "sample.h"

but there is no sample.h in the same directory as sample.c but only in 
the projects/sample/include directory.

Can this please be fixed, probably with an '#include <sample.h>' instead ?

It does look like everything else built OK and the error is only 
occuring trying to build the sample program.

More information about the llvm-dev mailing list