[cfe-dev] Did anyone build clang/llvm on visual studio.

Douglas Gregor dgregor at apple.com
Tue Feb 9 20:23:42 PST 2010

On Feb 9, 2010, at 7:48 PM, kalyan ponnala wrote:

> Hi,
> I am trying to build clang/llvm solution on visual studio 2008. The all build solution works but the Clang-test solution doesn't. 
> Does anyone know if those tests are "complete". I mean some of the .c or .h files inside clang-test, project look incomplete. one of them had just #include<stdio.h>
> and the regression test kept failing when i started building it. The errors were something like the ones below. If you guys did built the regression tests, could you tell me
> how did you do it?

I personally don't use Visual Studio, but we have a BuildBot performing continuous testing with Visual Studio that includes running all of the tests. It's likely that there's a configuration problem on your system, since Clang isn't finding stdio.h. Your stdio.h might be in a non-standard place where Clang can't find it, and you can run

	clang -v some_source.c

to see the places where Clang will search for headers.

	- Doug

More information about the cfe-dev mailing list