<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - MakeCInformation.cmake:37 (get_filename_component) cmake "Visual Studio 10" "Visual Studio 2008""
   href="http://llvm.org/bugs/show_bug.cgi?id=15691">15691</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MakeCInformation.cmake:37 (get_filename_component) cmake "Visual Studio 10" "Visual Studio 2008"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows XP
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>build-problem
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Andre_Mikulec@Hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10306" name="attach_10306" title="2010 cmake error log">attachment 10306</a> <a href="attachment.cgi?id=10306&action=edit" title="2010 cmake error log">[details]</a></span>
2010 cmake error log

My system

llvm and clang
Checked out revisions 178956
on windows XP ( 5.1 ) using 

When I run ...

cmake -G "Visual Studio 10" ..
OR
cmake -G "Visual Studio 2008" ..

I am getting the following "exact same error"

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Looking for argz.h
CMake Error at F:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37
(get_filename_component):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:3 (PROJECT)
...

CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Failed
mkdir: cannot create directory `/tmp/cg-7684': No such file or directory
config.guess: cannot create a temporary directory in /tmp
CMake Error at cmake/modules/GetHostTriple.cmake:24 (message):
  Failed to execute
 
M:/YDrive/All_Economics/eclipse_workspace/CheckoutLLVM/llvm/autoconf/config.guess
Call Stack (most recent call first):
  cmake/config-ix.cmake:336 (get_host_triple)
  CMakeLists.txt:243 (include)

Maybe the instructions 

If you are using Visual Studio 2008: cmake -G "Visual Studio 9 2008" ..\llvm

Or if you are using Visual Studio 2010: cmake -G "Visual Studio 10" ..\llvm

on page 
<a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a>

should be updated?

Thank you,
Andre Mikulec
<a href="mailto:Andre_Mikulec@Hotmail.com">Andre_Mikulec@Hotmail.com</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>