[python-win32] Unable to build against debug Python

Arve Knudsen arve.knudsen at gmail.com
Thu Nov 19 18:00:18 CET 2009


On Thu, Nov 19, 2009 at 5:59 PM, Arve Knudsen <arve.knudsen at gmail.com>wrote:

> On Thu, Nov 19, 2009 at 8:01 AM, Thomas Heller <theller at ctypes.org> wrote:
>
>> Arve Knudsen schrieb:
>> > Hi
>> >
>> > I'm trying to install Python-Win32 from source in a debug-build of
>> Python
>> > 2.6.4, by issuing this command: python_d .\setup.py install. It fails
>> > however, with this error: LINK : fatal error LNK1104: cannot open file
>> > 'python26.lib'. Is this due to a bug in the Python-Win32 distribution?
>>
>> No.  You must create a debug build by giving the '-g' or '--debug'
>> flag to the build step, like this:
>>
>> python_d setup.py build -g install
>>
>
> Thanks. Now I get another type of error:
>
> mt.exe : general error c101008d: Failed to write the updated manifest to
> the resource of file "build\lib.win32-2.6-pydebug\win32\odbc_d.pyd". The
> process cannot access the file because it is being used by another process.
>

I am building with Visual C++ 2008 on Windows 7 x64 btw.

Arve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20091119/e93f7f4a/attachment.htm>


More information about the python-win32 mailing list