PCBuild.sin - Attempt to compile Python using Visual Studio 2008

  • Thread starter Colin J. Williams
  • Start date
C

Colin J. Williams

The readme.txt has:

All you need to do is open the workspace
"pcbuild.sln" in Visual Studio,
select the desired combination of
configuration and platform and eventually
build the solution. Unless you are going
to debug a problem in the core or
you are going to create an optimized
build you want to select "Release" as
configuration.

Unfortunately, the Express Edition
(Free) doesn't handle "solution" files.

Installed Edition: VC Express

Microsoft Visual C++ 2008
91909-152-0000052-60812
Microsoft Visual C++ 2008


Does anyone have any advice for a person
who has limited C++ experience and none
with the Visual C++ please?

Colin W.
 
G

Gabriel Genellina

The readme.txt has:

All you need to do is open the workspace
"pcbuild.sln" in Visual Studio,
select the desired combination of
configuration and platform and eventually
build the solution. Unless you are going
to debug a problem in the core or
you are going to create an optimized
build you want to select "Release" as
configuration.

Unfortunately, the Express Edition
(Free) doesn't handle "solution" files.

Yes, it does. You get a warning saying that solution *folders* aren't supported; that just means that you won't see those 26 projects nicely grouped, only as a long list, that's all... Python builds fine with Visual C++ Express Edition.
Select Release, Win32 from the dropdown lists, press F7, and wait for compilation to complete...
 
C

Colin J. Williams

Colin said:
The readme.txt has:

All you need to do is open the workspace "pcbuild.sln" in Visual Studio,
select the desired combination of configuration and platform and eventually
build the solution. Unless you are going to debug a problem in the core or
you are going to create an optimized build you want to select "Release" as
configuration.

Unfortunately, the Express Edition (Free) doesn't handle "solution" files.

Installed Edition: VC Express

Microsoft Visual C++ 2008 91909-152-0000052-60812
Microsoft Visual C++ 2008


Does anyone have any advice for a person who has limited C++ experience
and none with the Visual C++ please?

Colin W.

Please ignore the request above.

In spite of the above message the
program appears to build and execute OK
for 2.6a2
Now I have to find where the executable
has been placed.

Colin W.
 
C

Colin J. Williams

Gabriel said:
Yes, it does. You get a warning saying that solution *folders* aren't supported; that just means that you won't see those 26 projects nicely grouped, only as a long list, that's all... Python builds fine with Visual C++ Express Edition.
Select Release, Win32 from the dropdown lists, press F7, and wait for compilation to complete...
Many thanks. Yes, you are right.

Colin W.
 
T

Tim Golden

Gabriel said:
Python builds fine with Visual C++ Express Edition.
Select Release, Win32 from the dropdown lists, press F7,
and wait for compilation to complete...

Or, if you prefer not to have the long startup time for Visual Studio,
simple start a command prompt in python\pcbuild, call the env
cmd script and then the build script:

<screendump>
C:\temp>cd \work_in_progress

C:\work_in_progress>cd python

C:\work_in_progress\python>cd PCbuild

C:\work_in_progress\python\PCbuild>env
Build environments: x86, ia64, amd64, x86_amd64, x86_ia64

Setting environment for using Microsoft Visual Studio 2008 x86 tools.

C:\work_in_progress\python\PCbuild>build
vcbuild /useenv pcbuild.sln "Release|Win32"
Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.

Build started: Project: make_versioninfo, Configuration: Release|Win32
Compiling...

</screendump>

TJG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top