Hi,<div><br></div><div>I have already posted on stackoverflow <a href="http://stackoverflow.com/questions/12390957/problems-with-compiling-llvm-on-windows-with-cmake">http://stackoverflow.com/questions/12390957/problems-with-compiling-llvm-on-windows-with-cmake</a> but no help :(</div>
<div><br></div><div><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
I'm trying to compile llvm on windows 7 using these instructions <a href="http://llvm.org/docs/GettingStartedVS.html" rel="nofollow" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:rgb(74,107,130);text-decoration:none">http://llvm.org/docs/GettingStartedVS.html</a></p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
I am using vc++ 2010 express. I have never used Cmake before but when running from the GUI it comes up with the following error.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe" is not able to compile a simple test program.</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
It fails with the following output:</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
Change Dir: C:/op/bin/llvmInstall/CMakeFiles/CMakeTmp</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\<a href="http://devenv.com">devenv.com</a> CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2769961044</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
The system cannot find the file specified</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
Generator: execution of make failed. Make command was: C:\PROGRA~2\MICROS~1.0\Common7\IDE\<a href="http://devenv.com">devenv.com</a> CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2769961044</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
When I look in the directory there are no .sln or proj files.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
<br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
Regards,</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
<br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:13.333333969116211px;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:16.666667938232422px">
William</p></div><div><br></div><div><br></div>