Newbie: problem with C extensions

Alex Martelli aleax at aleax.it
Mon Jan 7 10:09:59 EST 2002


"Karthik Gurumurthy" <karthikg at aztec.soft.net> wrote in message
news:mailman.1010412730.2356.python-list at python.org...
> hi!
>
> am trying to create a dll out of a .c file using VC++ 6.0
>
> This is the error am getting
> LINK : fatal error LNK1104: cannot open file "python21_d.lib"
>
> what should i be doing to rectify this?

You should be building for release, not for debug.

Easiest way to build extensions on any platform is with the
distutils, as exemplified at:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66509


Alex






More information about the Python-list mailing list