[pywin32-bugs] [ pywin32-Bugs-2370817 ] pywin32 doesn't compile on win xp
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2009-01-30 23:25:34
|
Bugs item #2370817, was opened at 2008-12-01 23:26 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2370817&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: None Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Private: No Submitted By: ionel (ionel_mc) Assigned to: Nobody/Anonymous (nobody) Summary: pywin32 doesn't compile on win xp Initial Comment: Due to many constants and missing functions that are only available on vista and not platform-checked. eg: win32/src/win32inetmodule.cpp(1381) : error C2065: 'INTERNET_OPTION_CODEPAGE_PATH' : undeclared identifier win32/src/win32inetmodule.cpp(1381) : error C2051: case expression not constant win32/src/win32inetmodule.cpp(1382) : error C2065: 'INTERNET_OPTION_CODEPAGE_EXTRA' : undeclared identifier win32/src/win32inetmodule.cpp(1382) : error C2051: case expression not constant win32/src/win32inetmodule.cpp(1390) : error C2065: 'INTERNET_OPTION_IDN' : undeclared identifier win32/src/win32inetmodule.cpp(1390) : error C2051: case expression not constant win32/src/win32inetmodule.cpp(1402) : error C2065: 'INTERNET_OPTION_HTTP_DECODING' : undeclared identifier win32/src/win32inetmodule.cpp(1402) : error C2051: case expression not constant win32/src/win32inetmodule.cpp(1582) : error C2065: 'INTERNET_OPTION_CODEPAGE_PATH' : undeclared identifier win32/src/win32inetmodule.cpp(1582) : error C2051: case expression not constant win32/src/win32inetmodule.cpp(1583) : error C2065: 'INTERNET_OPTION_CODEPAGE_EXTRA' : undeclared identifier win32/src/win32inetmodule.cpp(1583) : error C2051: case expression not constant win32/src/win32inetmodule.cpp(1589) : error C2065: 'INTERNET_OPTION_IDN' : undeclared identifier win32/src/win32inetmodule.cpp(1589) : error C2051: case expression not constant win32/src/win32inetmodule.cpp(1614) : error C2065: 'INTERNET_OPTION_HTTP_DECODING' : undeclared identifier win32/src/win32inetmodule.cpp(1614) : error C2051: case expression not constant error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2 or win32\src\win32processmodule_win32.cpp(2604) : error C2065: 'THREAD_MODE_BACKGROUND_BEGIN' : undeclared identifier win32\src\win32processmodule_win32.cpp(2606) : error C2065: 'THREAD_MODE_BACKGROUND_END' : undeclared identifier error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2009-01-31 10:25 Message: It does build on XP fine - but you do need the Vista platform SDK. This is mentioned in setup.py ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2370817&group_id=78018 |