hi vincent,<br>I did try it again and I get these errors.<br><br>23>Compiling...<br>23>X86CompilationCallback_Win64.asm<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(1) : error C2059: syntax error : '=='<br>
23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(3) : error C2146: syntax error : missing ';' before identifier 'LLVM'<br>

23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(3) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(3) : error C2146: syntax error : missing ';' before identifier 'Compiler'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(3) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(4) : error C2146: syntax error : missing ';' before identifier 'Infrastructure'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C2146: syntax error : missing ';' before identifier 'file'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C2146: syntax error : missing ';' before identifier 'is'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C2146: syntax error : missing ';' before identifier 'distributed'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C2146: syntax error : missing ';' before identifier 'under'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C2146: syntax error : missing ';' before identifier 'the'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C2146: syntax error : missing ';' before identifier 'University'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C2146: syntax error : missing ';' before identifier 'of'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C2146: syntax error : missing ';' before identifier 'Illinois'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C2146: syntax error : missing ';' before identifier 'Open'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(6) : error C2146: syntax error : missing ';' before identifier 'Source'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(6) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(6) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(6) : error C2143: syntax error : missing ';' before '.'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(6) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(8) : error C2059: syntax error : '=='<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C2146: syntax error : missing ';' before identifier 'file'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C2086: 'int This' : redefinition<br>23>        ..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : see declaration of 'This'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C2146: syntax error : missing ';' before identifier 'implements'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C2086: 'int file' : redefinition<br>23>        ..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : see declaration of 'file'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C2146: syntax error : missing ';' before identifier 'the'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C2146: syntax error : missing ';' before identifier 'JIT'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C2086: 'int the' : redefinition<br>23>        ..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(5) : see declaration of 'the'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C2146: syntax error : missing ';' before identifier 'interfaces'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C2143: syntax error : missing ';' before 'for'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(10) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(12) : error C2059: syntax error : '=='<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(16) : error C2143: syntax error : missing ';' before '.'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(16) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(20) : error C2146: syntax error : missing ';' before identifier 'RSP'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(20) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(20) : error C2143: syntax error : missing ';' before '.'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(20) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(23) : error C2146: syntax error : missing ';' before identifier 'all'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(23) : error C2086: 'int Save' : redefinition<br>


23>        ..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(20) : see declaration of 'Save'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(23) : error C2144: syntax error : 'int' should be preceded by ';'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(24) : error C2146: syntax error : missing ';' before identifier 'registers'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(24) : error C2470: 'WARNING' : looks like a function definition, but there is no parameter list; skipping apparent body<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(24) : error C2061: syntax error : identifier 'cannot'<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(24) : error C2001: newline in constant<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(24) : error C2015: too many characters in constant<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(30) : error C2061: syntax error : identifier 'stack'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(33) : error C2630: ';' found in what should be a comma-separated list<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(33) : error C2061: syntax error : identifier 'all'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(40) : error C2630: ';' found in what should be a comma-separated list<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(42) : error C2061: syntax error : identifier 'callee'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(42) : error C2630: ';' found in what should be a comma-separated list<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(42) : error C2061: syntax error : identifier 'prev'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(47) : error C2630: ';' found in what should be a comma-separated list<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(47) : error C2061: syntax error : identifier 'all'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(53) : error C2630: ';' found in what should be a comma-separated list<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(53) : error C2061: syntax error : identifier 'RSP'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(56) : error C2630: ';' found in what should be a comma-separated list<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(56) : error C2061: syntax error : identifier 'all'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(63) : error C2630: ';' found in what should be a comma-separated list<br>23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(63) : error C2061: syntax error : identifier 'RBP'<br>


23>..\..\..\..\lib\Target\X86\X86CompilationCallback_Win64.asm(69) : fatal error C1004: unexpected end-of-file found<br><br>62>Linking...<br>62>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\lib\Release\LLVMX86CodeGen.lib'<br>
<br>70>Linking...<br>70>LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\LLVMX86CodeGen.lib'<br><br>79>Linking...<br>79>LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\LLVMX86CodeGen.lib'<br>


<br>80>Linking...<br>80>LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\LLVMX86CodeGen.lib'<br><br>========== Build: 74 succeeded, 6 failed, 1 up-to-date, 0 skipped ==========<br>

<br>Could you please tell me about these errors. may be you have some locations already added to the library paths under the <br>tools -- options section of the visual studio. <br>could you tell me what all paths do i have to add to the visual studio and what all permissions or things that I have to do<br>
in order to make it work. <br>Thank you. <br><br><div class="gmail_quote">On Sun, Feb 7, 2010 at 7:28 AM, Vincent Richomme <span dir="ltr"><<a href="mailto:forumer@smartmobili.com" target="_blank">forumer@smartmobili.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div>On Sat, 6 Feb 2010 23:00:10 -0500, kalyan ponnala<br>
<<a href="mailto:ponnala.kalyan@gmail.com" target="_blank">ponnala.kalyan@gmail.com</a>> wrote:<br>
> Hello folks,<br>
> I am trying to build llvm/clang using cmake gui on visual studio 2008 in<br>
> windows vista 64-bit. I tried these following steps and I cant figure<br>
out<br>
> whats going wrong with the build.<br>
><br>
-------------------------------------------------------------------------------------------------------------------------<br>
> Steps:<br>
> 1:Checkout llvm and clang using visual svn command prompt.<br>
><br>
> 2: open cmake-gui<br>
>    select llvm source<br>
>    select llvm build directory. make it seperate \build<br>
>    hit configure.<br>
>    select visual studio 2008 x64 and hit configure again and say<br>
generate.<br>
>     For cmake it could not find the asm masm assemble and it could not<br>
find<br>
> some ".h" extension files. But the<br>
>     solution was generated anyhow.<br>
> 2. open start - programs - visual studio 2008 - command prompt of visual<br>
> studio - right click on command prompt in  the start programs itself and<br>
> click "run as administrator"- enter<br>
>    type devenv /ResetSkipPkgs - enter<br>
>    This should open vs package and you can open your project as<br>
> administrator.<br>
> 3. Set the environment path to point to the Debug directory in llvm.<br>
this<br>
> is<br>
> done by:<br>
>    right-clicking my computer and selecting properties and clicking<br>
> "Advanced system setting" and<br>
>    going to "environmental variables" and selecting "path" from the<br>
system<br>
> variables and clicking on edit<br>
>    and adding C:\Users\Kalyan\llvm\build\bin\debug to the path variable.<br>
> 4. Go to the llvm solution file and right click on ALLBUILD and click<br>
> build.<br>
><br>
------------------------------------------------------------------------------------------------------------------<br>
> The errors are in this way:<br>
><br>
> Linking...<br>
> 71>LINK : fatal error LNK1104: cannot open file<br>
> '..\..\lib\Debug\LLVMX86CodeGen.lib'<br>
> Linking...<br>
> 80>LINK : fatal error LNK1104: cannot open file<br>
> '..\..\lib\Debug\LLVMX86CodeGen.lib'<br>
><br>
> this shows up several times. And the build fails.<br>
> Could you please tell me how to fix this error.<br>
><br>
> Thanks beforehand.<br>
<br>
<br>
</div></div>Hi,<br>
<br>
I have tested 30 min ago and everything compiles fine here in Release mode<br>
on a Windows 7 64 bits VS2008<br>
========== Build: 1 succeeded, 0 failed, 91 up-to-date, 26 skipped<br>
==========<br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Kalyan Ponnala<br>phone: 8163772059<br>