Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > building python extensions for windows : python23_d.lib file is missing

Reply
Thread Tools

building python extensions for windows : python23_d.lib file is missing

 
 
Antoine Maillard
Guest
Posts: n/a
 
      08-02-2004
Hi
We're looking to make our own python modules for windows Python 23.
We use swig and Visual Studio C++ for making the dlls. But when trying to
compile, it says it's been missing a "Python23_d.lib" file.
According to the tutorial we did
(http://www.geocities.com/foetsch/pyt....htm#abstract),
it's a problem with the fact we use the release version of python and not a
débug version.
But we don't know how to go through this (perhaps recompiling a debug
version ... but we don't know how to do).
Did someone get this problem and walk throug it ?
Thanks for your help
Antoine Maillard & André Garenne


 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
Guest
Posts: n/a
 
      08-02-2004
Antoine Maillard wrote:
> But we don't know how to go through this (perhaps recompiling a debug
> version ... but we don't know how to do).


Yes, you need to compile a debug version. Download the Python source
code, and follow the instructions in PCbuild/readme.txt.

Alternatively:
a) build a release version of your own code, not a debug version, or
b) do not define _DEBUG in the debug version of your code

Regards,
Martin
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: EXTERNAL: Re: missing python-config and building python on Windows Terry Reedy Python 0 08-01-2012 05:09 PM
RE: EXTERNAL: Re: missing python-config and building python on Windows Prasad, Ramit Python 0 08-01-2012 03:31 PM
Re: EXTERNAL: Re: missing python-config and building python on Windows Damon Register Python 0 08-01-2012 11:47 AM
missing python-config and building python on Windows Damon Register Python 0 08-01-2012 12:48 AM
Building Python extensions from sources on Windows TPJ Python 1 03-25-2006 01:35 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57