[CMake] problem building llvm with cmake

william pearson williammpearson at gmail.com
Wed Sep 12 11:39:35 EDT 2012


Hi,

I have already posted on stackoverflow
http://stackoverflow.com/questions/12390957/problems-with-compiling-llvm-on-windows-with-cmake
but
no help :(

I'm trying to compile llvm on windows 7 using these instructions
http://llvm.org/docs/GettingStartedVS.html

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.

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.

It fails with the following output:

Change Dir: C:/op/bin/llvmInstall/CMakeFiles/CMakeTmp

Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.comCMAKE_TRY_COMPILE.sln
/build Debug /project cmTryCompileExec2769961044

The system cannot find the file specified

Generator: execution of make failed. Make command was:
C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build
Debug /project cmTryCompileExec2769961044

When I look in the directory there are no .sln or proj files.


Regards,


William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120912/d6c7e555/attachment.htm>


More information about the CMake mailing list