Hello folks,<br>I am trying to build llvm/clang using cmake gui on visual studio 2008 in windows vista 64-bit. I tried these following steps and I cant figure out whats going wrong with the build.<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 generate.<br>
For cmake it could not find the asm masm assemble and it could not find some ".h" extension files. But the<br> solution was generated anyhow. <br>2. open start - programs - visual studio 2008 - command prompt of visual studio - right click on command prompt in the start programs itself and click "run as administrator"- enter<br>
type devenv /ResetSkipPkgs - enter<br> This should open vs package and you can open your project as administrator.<br>3. Set the environment path to point to the Debug directory in llvm. this is done by:<br> right-clicking my computer and selecting properties and clicking "Advanced system setting" and <br>
going to "environmental variables" and selecting "path" from the system 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 build.<br>
------------------------------------------------------------------------------------------------------------------<br>The errors are in this way:<br><br>Linking...<br>71>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\LLVMX86CodeGen.lib'<br clear="all">
Linking...<br>80>LINK : fatal error LNK1104: cannot open file '..\..\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>Kalyan Ponnala<br>phone: 8163772059<br>