Menu

#381 Error compiling

closed-works-for-me
nobody
None
5
2009-01-30
2008-09-19
No

I just obtained the pywin32-212.zip and attempted to build it, but got the following error:

$ python setup.py install
Building pywin32 2.4.212.0
running install
running build
running build_py
running build_ext
Found version 0x500 in C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\include\WinResrc.h
building 'pywintypes' extension
c:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN\cl.exe /c /nologo /Ob2ty /MD /W3 /EHsc /DNDEBUG -DDISTUTILS_BUILD -Icom/win32com/src/include -Iwin32/src -Ic:\Acusim\Win\V1.3\base\include -Ic:\Acusim\Win\V1.3\base\PC /Tpwin32\src\PyACL.cpp /Fobuild\temp.win32-2.4\Release\win32\src\PyACL.obj -DBUILD_PYWINTYPES /YXPyWinTypes.h /Fpbuild\temp.win32-2.4\Release\pywintypes.pch /Zi /Fdbuild\temp.win32-2.4\Release\pywintypes_vc.pdb /EHsc /DMFC_OCC_IMPL_H=\"..\src\occimpl.h\"
PyACL.cpp
win32\src\PyACL.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'build\temp.win32-2.4\Release\pywintypes.pch': The process cannot access the file because it is being used by another process.

This is done on a Windows 2000.

Any ideas how to resolve this issue?

Farzin

Discussion

  • Ziga Seilnacht

    Ziga Seilnacht - 2008-10-01

    You should update your Platform SDK. Search for:
    "Microsoft Windows Software Development Kit Update for Windows Vista"
    on the Microsoft download site. Note that the latest version,
    "Windows SDK for Windows Server 2008 and .NET Framework 3.5", won't
    work with Visual Studio 2003.

     
  • Mark Hammond

    Mark Hammond - 2009-01-30
    • status: open --> closed-works-for-me