[python-win32] how do I build pywin32?

Tim Newsham newsham at lava.net
Tue Oct 14 01:26:07 CEST 2008


>> visual studio 7.1 and the win sdk?  What do I need to install to
>> properly build pywin32?
>
> It may be worth trying an older version of the SDK.  The Vista SDK
> version of specstrings.h does not try to include sal.h.

Vista SDK worked a lot better, but did not make it all the way
through:

e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIMAPIProp.h(6) : 
error C2143: syntax error : missing ';' before '*'
e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIMAPIProp.h(6) : 
error C2501: 'PyIMAPIProp::GetI' : missing storage-class or type 
specifiers
e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIMAPIProp.h(6) : 
warning C4183: 'GetI': missing return type; assumed to be a member 
function returning 'int'
e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIProfSect.h(6) : 
error C2143: syntax error : missing ';' before '*'
e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIProfSect.h(6) : 
error C2501: 'PyIProfSect::GetI' : missing storage-class or type 
specifiers
e:\pywin32-212\pywin32-212\com\win32comext\mapi\src\PyIProfSect.h(6) : 
warning C4183: 'GetI': missing return type; assumed to be a member 
function returning 'int'
com\win32comext\mapi\src\PyIProfSect.cpp(646) : error C2143: syntax error 
: missing ';' before '*'
com\win32comext\mapi\src\PyIProfSect.cpp(646) : error C2501: 'IProfSect' : 
missing storage-class or type specifiers
com\win32comext\mapi\src\PyIProfSect.cpp(647) : error C2501: 
'PyIProfSect::GetI' : missing storage-class or type specifiers
com\win32comext\mapi\src\PyIProfSect.cpp(648) : error C2059: syntax error 
: ')'

(either on IMAPIProp or PyObject, probably the former)

> Tim Roberts, timr at probo.com

Tim Newsham
http://www.thenewsh.com/~newsham/


More information about the python-win32 mailing list