[cfe-dev] Clang build failure on Windows

Óscar Fuentes ofv at wanadoo.es
Sat Feb 19 09:27:05 PST 2011


[Seems that stupid gmane ate my previous post. Sorry if this is a
duplicate]

Hello Ruben.

Ruben Van Boxem <vanboxem.ruben at gmail.com>
writes:

> with the latest svn version of clang and LLVM (r126030), I get this
> build error in Clang on windows (x86_64-w64-mingw32):
>
> [ 93%] Building CXX object
> tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.obj
> In file included from
> M:\Development\Source\LLVM\tools\clang\lib\StaticAnalyzer\Frontend\AnalysisConsumer.cpp:34:0:
> M:\Development\Source\LLVM\tools\clang\lib\StaticAnalyzer\Frontend\/../Checkers/ClangSACheckers.h:26:24:
> fatal error: Checkers.inc: No such file or directory
> compilation terminated.
> gmake[2]: *** [tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.obj]
> Error 1
> gmake[1]: *** [tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/all]
> Error 2
> gmake: *** [all] Error 2
>
> What's wrong?

I'll look at this issue later this weekend, but in the meantime it would
be great if you can provide some additional info:

 * How are you building LLVM/Clang? Complete cmake command. Generator
   used: MSYS or MinGW makefies?

 * The complete compiler invokation at the failure point. You can see
   that with

   make VERBOSE=1

Thanks.




More information about the cfe-dev mailing list