http://llvm.org/bugs/show_bug.cgi?id=15691

            Bug ID: 15691
           Summary: MakeCInformation.cmake:37 (get_filename_component)
                    cmake "Visual Studio 10" "Visual Studio 2008"
           Product: Build scripts
           Version: 3.2
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Keywords: build-problem
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 10306
  --> http://llvm.org/bugs/attachment.cgi?id=10306&action=edit
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 
http://clang.llvm.org/get_started.html

should be updated?

Thank you,
Andre Mikulec
[email protected]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to