[cfe-dev] CMakeLists.txt for VS2005 may have something wrong

Sebastian Redl sebastian.redl at getdesigned.at
Tue Mar 10 01:13:07 PDT 2009


On Tue, 10 Mar 2009 10:54:23 +0800 (CST), lujiandong1001 at yahoo.com.cn
wrote:
> hi,my llvm home dir is D:\projects\llvm
> 
> I use these commands to generate .sln file for vs2005:
> cd D:\projects\llvm
> cmake CMakeLists.txt
> then I got a .sln in the directory.
> I use vs2005 open  llvm.sln ,and compile all projects.
> It failed in project clangCodegen,file CGBlocks.cpp:
> "D:\projects\llvm\include\llvm/Support/CommandLine.h(836) : error C3861:
> 'setValue': identifier not found
>         D:\projects\llvm\include\llvm/Support/CommandLine.h(831) :
> while compiling class template member function 'bool
> llvm::cl::opt::handleOccurrence(unsigned int,const char *,const
std::string
> &)'

In my opinion, this function is simply in error. Try applying the
llvm-vs2008.patch attached to this post:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-March/004537.html
to the LLVM source tree.

Sebastian



More information about the cfe-dev mailing list