[cfe-dev] How to build Clang in Visual Studio?

Aaron Ballman aaron at aaronballman.com
Fri Oct 7 07:40:13 PDT 2011

On Fri, Oct 7, 2011 at 9:18 AM, Thomson <lilotom at gmail.com> wrote:
> Hi,
> I followed "Using Visual Studio" section
> in http://clang.llvm.org/get_started.html totally, and still got many error
> and cannot generate clang.exe in the build output. (LLVM tools are generated
> without any problem).   Many errors say that some .inc file could not be
> included to the source of Clang tool. I almost downloaded the latest Clang
> and there is no change.   Is there any other steps I missed to build Clang?
>  I am using Visual Studio 2010.

What version of Visual Studio 2010 are you using (Express, etc)?

Did you run cmake -G "Visual Studio 10" again after fetching LLVM and
clang both?


More information about the cfe-dev mailing list