<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This is likely being caused by trying to execute CMake inside the source directory.   Try creating an empty directory somewhere, say "llvm-build" and run CMake from that directory, and point it at the source.   I don't think LLVM plays very well with in-tree builds. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CMake 2.8 works fine with every version of VS I've tried it with here.   Running from a VS command line shouldn't usually be necessary.  <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:navy'>Gordon Keiser<br></span></b><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:navy'>Software Development Engineer<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:navy'>Arxan Technologies<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> cfe-dev-bounces@cs.uiuc.edu [mailto:cfe-dev-bounces@cs.uiuc.edu] <b>On Behalf Of </b>Andre Mikulec<br><b>Sent:</b> Thursday, April 04, 2013 1:48 PM<br><b>To:</b> cfe-dev@cs.uiuc.edu<br><b>Subject:</b> [cfe-dev] llvm and clang: trying to "cmake" a "Visual Studio 10"<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-family:"Courier New"'><br>All,<br> <br>I posted this to the 'users list' but I have not recevied a response, so I decided to re-post here.<br> <br>------<br> <br><br>HI,<br>I AM USING CMAKE TO TRY TO GENERATE MY <br>CMAKE CMakeFiles FOLDER AND CMakeCache.txt FILE.<br> <br>I AM RUNNING THE FOLLOWING COMMAND.<br> <br>M:\YDrive\All_Economics\eclipse_workspace\CheckoutLLVM\llvm><br>  "F:\Program Files\CMake 2.8\bin\cmake" -G "Visual Studio 10" <br>     M:\YDrive\All_Economics\eclipse_workspace\CheckoutLLVM\llvm<br> <br>HERE ARE MY RETURNED MESSAGES.<br> <br>The C compiler identification is unknown<br>The CXX compiler identification is unknown<br>Looking for argz.h<br>CMake Error at F:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):<br>  get_filename_component called with incorrect number of arguments<br>Call Stack (most recent call first):<br>  CMakeLists.txt:3 (PROJECT)<br><br>CMake Error: Internal CMake error, TryCompile configure of cmake failed<br>Looking for argz.h - not found<br>Looking for assert.h<br>CMake Error at F:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):<br>  get_filename_component called with incorrect number of arguments<br>Call Stack (most recent call first):<br>  CMakeLists.txt:3 (PROJECT)<br>... LONG OUTPUT ...<br>Make Error: Internal CMake error, TryCompile configure of cmake failed<br>Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Failed<br>CMake Error at cmake/modules/GetHostTriple.cmake:24 (message):<br>  Failed to execute<br>  M:/YDrive/All_Economics/eclipse_workspace/CheckoutLLVM/llvm/autoconf/config.guess<br>Call Stack (most recent call first):<br>  cmake/config-ix.cmake:336 (get_host_triple)<br>  CMakeLists.txt:243 (include)<br><br>Configuring incomplete, errors occurred!<br> <br>PLEASE HELP.<br>THANK YOU,<br>ANDRE MIKULEC<br>ANDRE_MIKULEC at HOTMAIL.COM  <br> <br> <br> <br></span><span style='font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div></div></div></body></html>