I opened the solution, hit Ctrl+F5 and it began compiling but it fails with this error:<br>LINK :fatal error LNK1181: cannot open input file '.\python31_d.lib'<br><br>How do I specify that "pythoncore" be built? When I follow your instructions, right clicking on the "python" project in the "Solution Explorer" panel, I get the exact same link error as above. If I hit F7, the build log changes completely. The last lines of output with F7 are as follows:<br>
<br>> 21>Build log was saved at "file://C:\Documents and Settings\James\Desktop\Python-3.1\PCbuild\Win32-temp-Debug\select\BuildLog.htm"<br>> 21>select - 1 error(s), 0 warning(s)<br>> ========== Build: 0 succeeded, 20 failed, 4 up-to-date, 1 skipped ==========<br>
<br><br><div class="gmail_quote">On Mon, Jul 13, 2009 at 11:03, Amaury Forgeot d'Arc <span dir="ltr"><<a href="mailto:amauryfa@gmail.com">amauryfa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
2009/7/13 Eric Pruitt <<a href="mailto:eric.pruitt@gmail.com">eric.pruitt@gmail.com</a>>:<br>
<div class="im">> Hello,<br>
><br>
> I am trying to build Python 3.1 on Windows XP Pro (32 bit) using Microsoft<br>
> Visual C++ Express Edition in order to test some modifications I made to the<br>
> _subprocess.c file as part of my Google Summer of Code proposal. I cannot<br>
> seem to figure out how to compile Python on Windows and could use some<br>
> guidance. The Visual Studio Solution file ../PCbuild/pcbuild.sln does not<br>
> work when I attempt to open and no error message is given when clicked.<br>
<br>
</div>Is Visual C++ correctly installed?<br>
<div class="im"><br>
> When<br>
> opened from the Visual C++, it says "Solution folders are not supported in<br>
> this version of the application."<br>
<br>
</div>This is a warning from the Express Edition, which has absolutely no<br>
impact on the build. You can safely ignore it and continue.<br>
<br>
What steps did you perform exactly? From your build log the<br>
"pythoncore" project was not built. Why?<br>
<br>
The following has always worked for me: In the "Solution explorer"<br>
panel, right-click on the "python" project, and click "Build". This<br>
should build the project and all its dependencies.<br>
Or just hit the F7 key and watch the whole solution build.<br>
<br>
--<br>
<font color="#888888">Amaury Forgeot d'Arc<br>
</font></blockquote></div><br>