[LLVMbugs] [Bug 15691] New: MakeCInformation.cmake:37 (get_filename_component) cmake "Visual Studio 10" "Visual Studio 2008"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 6 14:25:17 PDT 2013


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: unassignedbugs at nondot.org
          Reporter: Andre_Mikulec at Hotmail.com
                CC: llvmbugs at cs.uiuc.edu
    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
Andre_Mikulec at Hotmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130406/c6086764/attachment.html>


More information about the llvm-bugs mailing list