[cfe-dev] llvm and clang: trying to "cmake" a "Visual Studio 10"
Gordon Keiser
gkeiser at arxan.com
Tue Apr 16 22:53:52 PDT 2013
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.
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.
Gordon Keiser
Software Development Engineer
Arxan Technologies
From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On Behalf Of Andre Mikulec
Sent: Thursday, April 04, 2013 1:48 PM
To: cfe-dev at cs.uiuc.edu
Subject: [cfe-dev] llvm and clang: trying to "cmake" a "Visual Studio 10"
All,
I posted this to the 'users list' but I have not recevied a response, so I decided to re-post here.
------
HI,
I AM USING CMAKE TO TRY TO GENERATE MY
CMAKE CMakeFiles FOLDER AND CMakeCache.txt FILE.
I AM RUNNING THE FOLLOWING COMMAND.
M:\YDrive\All_Economics\eclipse_workspace\CheckoutLLVM\llvm>
"F:\Program Files\CMake 2.8\bin\cmake" -G "Visual Studio 10"
M:\YDrive\All_Economics\eclipse_workspace\CheckoutLLVM\llvm
HERE ARE MY RETURNED MESSAGES.
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
Looking for argz.h - not found
Looking for assert.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)
... LONG OUTPUT ...
Make Error: Internal CMake error, TryCompile configure of cmake failed
Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Failed
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)
Configuring incomplete, errors occurred!
PLEASE HELP.
THANK YOU,
ANDRE MIKULEC
ANDRE_MIKULEC at HOTMAIL.COM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130417/60e09d45/attachment.html>
More information about the cfe-dev
mailing list