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

Francois Pichet pichet2000 at gmail.com
Fri Oct 7 10:13:49 PDT 2011


Make sure that both llvm and clang are up to date. (svn update). They
are different repositories and if you svn update llvm you must also to
svn update clang.


On Fri, Oct 7, 2011 at 12:01 PM, Thomson <lilotom at gmail.com> wrote:
> I am using Visual Studio 2010 ultimate (the full version). I run cmake after
> I put clang folder under LLVM\tools, and the VS solution file was generated
> successfully with many Clang projects in it. So I think the downloaded Clang
> is taking effect.
>
> On Fri, Oct 7, 2011 at 10:48 PM, Francois Pichet <pichet2000 at gmail.com>
> wrote:
>>
>> On Fri, Oct 7, 2011 at 10: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.
>>
>> Make sure you chekout clang in llvm\tools\clang
>
>
> --
> Thanks
> Thomson Tan
>




More information about the cfe-dev mailing list