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

Thomson lilotom at gmail.com
Sat Oct 8 07:52:48 PDT 2011


Thanks for your advice. You are right. The build succeeded after I updated
both LLVM and Clang to the latest through SVN. I think the previous
downloaded source package of Clang is not the latest and it blocked the
build.

On Sat, Oct 8, 2011 at 1:13 AM, Francois Pichet <pichet2000 at gmail.com>wrote:

> 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
> >
>



-- 
Thanks
Thomson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111008/bb855f80/attachment.html>


More information about the cfe-dev mailing list