[pywin32-bugs] [ pywin32-Bugs-3072046 ] mapi.cpp build error
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2011-01-06 03:15:37
|
Bugs item #3072046, was opened at 2010-09-21 03:27 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3072046&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: don () Assigned to: Nobody/Anonymous (nobody) Summary: mapi.cpp build error Initial Comment: I'm attempting to build pywin32 on my Windows 7 64-bit system. I wasn't sure if this was a supported environment or not, but I thought I'd post this anyway. VS2008 and VS2010 build environments are failing at the same point: Building pywin32 2.7.214.0 mapi.cpp com/win32comext/mapi/src/mapi.cpp(933) : error C3861: 'OleSetOleError': identifier not found com/win32comext/mapi/src/mapi.cpp(995) : error C3861: 'OleSetOleError': identifier not found com/win32comext/mapi/src/mapi.cpp(1165) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1220) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1268) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1315) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1321) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1327) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1333) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1339) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1389) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1452) : error C3861: 'SWIG_GetPtr': identifier not found com/win32comext/mapi/src/mapi.cpp(1458) : error C3861: 'SWIG_GetPtr': identifier not found error: command '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2011-01-06 14:15 Message: Thanks to Robert Lerche in https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3152207&group_id=78018, this problem is caused by mapilib.i not existing in the source distro - if you grab that file (see the other bug) it should all work fine. ---------------------------------------------------------------------- Comment By: mac-es (mac-es) Date: 2010-09-28 21:33 Message: Had the same error, than extracted the .zip to c:\pywin32 (python is in c:\python27) and compiled again -> Success. So maybe pywin should not be compiled from a "deep" subdirectory. ---------------------------------------------------------------------- Comment By: don () Date: 2010-09-21 03:33 Message: Sorry, forgot some interesting output that comes before this point. There are several lines like this referring to various .i files before it gets to mapi.cpp: Generating wrappers for Python c:\Users\dsmith\Downloads\pywin32-214\pywin32-214\com\win32comext\mapi\src\mapi.i : Line 24. Unable to find include file mapilib.i (ignored). Generating wrappers for Python c:\Users\dsmith\Downloads\pywin32-214\pywin32-214\com\win32comext\mapi\src\PyIABContainer.i : Line 8. Unable to find include file mapilib.i (ignored). Generating wrappers for Python c:\Users\dsmith\Downloads\pywin32-214\pywin32-214\com\win32comext\mapi\src\PyIAddrBook.i : Line 6. Unable to find include file mapilib.i (ignored). Generating wrappers for Python c:\Users\dsmith\Downloads\pywin32-214\pywin32-214\com\win32comext\mapi\src\PyIAttach.i : Line 8. Unable to find include file mapilib.i (ignored). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3072046&group_id=78018 |