[python-win32] building pywin32 for python 2.6...

Raymond Stewart apocalypse2012 at yahoo.com
Mon Jan 5 23:34:56 CET 2009


I have VS2003, VS2005, and VS2008 installed. How do I make the setup file use
the correct version?



Tim Roberts wrote:
> 
> Raymond Stewart wrote:
>>
>> I am having a hard time building Mark Hammond’s pywin32 extension with
>> python 2.6.1. I followed the readme and used the setup.py. I have the
>> latest Windows SDK installed, and the Direct X SDK installed as well.
>> I am building on Vista. I have both Python 2.5 and 2.6 installed as
>> well as VC2003, VC2005, and VC2008. I changes the path statement to
>> point at \python26. Not sure what else I need to do. The docs are
>> pretty thin on building configurations.
>>
>> Here is what I am getting…
>>
>> C:\Users\raymond.stewart\Desktop\pywin32-212>setup.py -q  build
>>
>> Building pywin32 2.5.212.0
>>
>> PyACL.cpp
>>
>> C:\Program Files\Microsoft SDKs\Windows\v6.1\Include\specstrings.h(9)
>> : fatal error C1083: Cannot open include file: 'sal.h': No such file
>> or directory error: command '"C:\Program Files (x86)\Microsoft Visual
>> Studio .NET 2003\Vc7\bin\cl.exe"' failed with exit status 2
>>
> 
> You are using the very latest SDK (6001) but an old compiler (Visual
> Studio 2003).  If you read the release notes, you'll see that the 6001
> SDK no longer supports Visual Studio 2003.  You need to switch to VS2005
> or VS2008.
> 
> -- 
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
> 
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
> 
> 

-- 
View this message in context: http://www.nabble.com/building-pywin32-for-python-2.6...-tp21299342p21300900.html
Sent from the Python - python-win32 mailing list archive at Nabble.com.



More information about the python-win32 mailing list