Discussion:
[python-win32] Error while building pywin32
Bharath Ramesh
2014-10-17 22:19:32 UTC
Permalink
Hi,
I am trying to build 64-bit pywin32 locally. While building I come
across this error when the shell extension is being built

com\win32comext\shell\src\PyIAsyncOperation.h(11) : error C2143:
syntax error : missing ';' before '*'

I am trying to figure out what could be possibly wrong that could be
causing this issue.
Mark Hammond
2014-10-21 04:59:28 UTC
Permalink
Works OK for me here - that line is:

static IAsyncOperation *GetI(PyObject *self);

So I can only guess that the Windows SDK you are using means
IAsyncOperation isn't declared yet - you might need to grep the SDK dirs
to see where that lives and why it isn't already included.

HTH,

Mark
Post by Bharath Ramesh
Hi,
I am trying to build 64-bit pywin32 locally. While building I come
across this error when the shell extension is being built
syntax error : missing ';' before '*'
I am trying to figure out what could be possibly wrong that could be
causing this issue.
_______________________________________________
python-win32 mailing list
https://mail.python.org/mailman/listinfo/python-win32
Bharath Ramesh
2014-10-21 21:58:01 UTC
Permalink
Hi Mark,
Thank you for the pointer. For some reason I had the Windows 8 SDK in
the include path, this was causing compiler to somehow pick up those
header files ahead of Vista SDK.

For what it is worth, seems like in the newer SDK Microsoft has
decided to rename IAsyncOperation to IDataObjectAsyncCapability in
shldisp.h.
Post by Mark Hammond
static IAsyncOperation *GetI(PyObject *self);
So I can only guess that the Windows SDK you are using means IAsyncOperation
isn't declared yet - you might need to grep the SDK dirs to see where that
lives and why it isn't already included.
HTH,
Mark
Post by Bharath Ramesh
Hi,
I am trying to build 64-bit pywin32 locally. While building I come
across this error when the shell extension is being built
syntax error : missing ';' before '*'
I am trying to figure out what could be possibly wrong that could be
causing this issue.
_______________________________________________
python-win32 mailing list
https://mail.python.org/mailman/listinfo/python-win32
Loading...