I have known the reason now. Thanks. the code i cloned is from master branch, i should use 0.10 or 0.11.<div><br></div><div><div><div><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 10:02 AM, me,apporc <span dir="ltr"><<a href="mailto:appleorchard2000@gmail.com" target="_blank">appleorchard2000@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Hi all,</span><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

According to the building instructions from  <a href="http://spice-space.org/page/Building_Instructions" style="color:rgb(17,85,204)" target="_blank">http://spice-space.org/page/Building_Instructions</a> , I <span style="font-size:14px">get the source code for spice, spice-protocol, and download </span> <span style="font-family:Helvetica,Arial,sans-serif;font-size:14px"> wspice-x64_20110308.zip. After that i set those three environment variables from <my computer>-<Properties>. </span></div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><font face="Helvetica, Arial, sans-serif"><span style="font-size:14px">But when i compile </span></font><span style="font-size:14px"><spice-dir>\client\windows\redc.sln, whether use vs2008 or vs2010, same errors.</span></div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="font-size:14px">(1)it reported that it can't find 'python', then i installed python for my windows platform and add it to my PATH.</span></div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="font-size:14px">(2)then it report errors like '</span><span style="font-size:14px">python: can't open file '..\..\spice-common\spice_codegen.py': [Errno 2] No such file or directory</span><span style="font-size:14px">'.</span></div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="font-size:14px">    I don't understand why this is happening, for i git cloned all the code from freedesktop. However, i found there is one spice-common directory from spice-gtk-0.14 src, so i copied it to <spice-dir>.</span></div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="font-size:14px">(3)After that the error message changed. It was "</span>Module pyparsing not found." Then i install pyparsing module for my python.and it then reported other errors agagin. </div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">(4)I solved many errors until i met many 'syntax error'. </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">I feel it 's wired, there must be something wrong with this source code. Because i need some features from new version spice client, usb redir eg. I have to compile it from source. Could any one give me some help? Thanks in advance.</div>

</blockquote></div><br></div></div></div>