[Python-checkins] devguide: #14873: add paragraph about building errors caused by missing dependencies on

ezio.melotti python-checkins at python.org
Thu Sep 20 06:43:16 CEST 2012


http://hg.python.org/devguide/rev/a9f8a205fa9a
changeset:   550:a9f8a205fa9a
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Thu Sep 20 07:42:58 2012 +0300
summary:
  #14873: add paragraph about building errors caused by missing dependencies on Windows.  Patch by Chris Jerdonek, initial patch by Merlijn van Deen.

files:
  setup.rst |  19 +++++++++++++------
  1 files changed, 13 insertions(+), 6 deletions(-)


diff --git a/setup.rst b/setup.rst
--- a/setup.rst
+++ b/setup.rst
@@ -192,15 +192,22 @@
 Regardless of Visual Studio version, the ``PCbuild`` directory of a source
 checkout contains the build files for the Python version you are building.
 The full version of Visual Studio is not necessary for common tasks with
-32-bit builds; the gratis C++ Express versions linked above are sufficient. 
+32-bit builds; the gratis C++ Express versions linked above are sufficient.
 The limitations of the Express versions are given at
 http://msdn.microsoft.com/en-us/library/hs24szh9%28v=VS.90%29.aspx .
 
-To build from the Visual Studio GUI, open pcbuild.sln to load the project
-files and choose the Build Solution option from either the Build or Debug menu
-(depending on your Visual Studio version), which is often
-associated with the F7 key. Make sure you have chosen the "Debug" option from
-the "Solution Configurations" drop-down on the toolbar first.
+To build from the Visual Studio GUI, open the ``pcbuild.sln`` solution file
+with Visual Studio.  Choose the :menuselection:`Build Solution` option
+under the :menuselection:`Build` or :menuselection:`Debug` menu
+(depending on your version of Visual Studio).  Be sure that "Debug" was
+chosen as the active solution configuration (e.g. under
+:menuselection:`Build --> Configuration Manager...`).
+
+When building you may see a number of build errors related to missing
+files or directories.  These do not necessarily mean that Python failed
+to build.  If you prefer, you can exclude the offending projects from
+the build process by unchecking them inside the
+:menuselection:`Build --> Configuration Manager...` settings.
 
 Once built you might want to set Python as a startup project. Pressing F5 in
 Visual Studio, or choosing Start Debugging from the Debug menu, will launch

-- 
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list