<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi all,<br>
I'm new to Clang and LLVM and I'd like to use them on Win 8 with
Code::Blocks.<br>
<br>
I'm having problems in running cmake.<br>
<br>
I did the following:<br>
<ul>
<li>Installed cmake</li>
<li>installed Code::Blocks<br>
</li>
<li>Installed python (cmake was complaining if it was not
installed)</li>
<li>Dowloaded sources fron svn (LLVM, clang, compilre-rt and
test-suite.</li>
</ul>
<br>
When I run cmake I got The following error:<br>
<b><font color="#000099"><project folder>\build>CMake -G
"CodeBlocks - MinGW Makefiles" ..\llvm</font></b><br>
<i>-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES
LIBXML2_INCLUDE_DIR)</i><i><br>
</i><i>-- Target triple: x86_64-w64-mingw32</i><i><br>
</i><i>-- Native target architecture is X86</i><i><br>
</i><i>-- Threads enabled.</i><i><br>
</i><i>-- Found PythonInterp: C:/Python33/python.exe (found version
"3.3.2")</i><i><br>
</i><i>-- Constructing LLVMBuild project information</i><i><br>
</i><i>CMake Error at CMakeLists.txt:299 (message):</i><i><br>
</i><i> Unexpected failure executing llvm-build: Traceback (most
recent call last):</i><i><br>
</i><i><br>
</i><i> File "<project folder>/llvm/utils/llvm-b</i><i><br>
</i><i>uild/llvm-build", line 3, in <module></i><i><br>
</i><i> import llvmbuild</i><i><br>
</i><i> File "<project folder>\llvm\utils\llvm-b</i><i><br>
</i><i>uild\llvmbuild\__init__.py", line 1, in <module></i><i><br>
</i><i> from main import main</i><i><br>
</i><i><br>
</i><i> ImportError: No module named 'main'</i><i><br>
</i><i><br>
</i><i><br>
</i><i>-- Configuring incomplete, errors occurred!</i><br>
<br>
So I thought that I missed to configure something.<br>
I tried to run the configure script as per the web instructions, but
I got an error because the configure script is only for linux<br>
<br>
<br>
<font color="#333399"><b><project
folder>\build>..\llvm\configure --p</b><b>refix="c:\llvm\tools"</b></font><i><br>
</i><i>"..\llvm\configure" is not an internal/external command, an
executable or batch file.</i><i></i><br>
<br>
May anyone please help me?<br>
I downloaded the last version of LLVM (3.4).<br>
<br>
Thanks in advance,<br>
Giorgio Franceschetti<br>
</body>
</html>