[Pyrex] Link error

Natsagdorj Shagdar natsag2000 at yahoo.com
Thu Jan 11 07:09:57 UTC 2007


Thank you very much. It works. ;)

----- Original Message ----
From: Lenard Lindstrom <len-l at telus.net>
To: Pyrex ML <pyrex at lists.copyleft.no>
Sent: Wednesday, January 10, 2007 9:10:16 PM
Subject: Re: [Pyrex] Link error

Natsagdorj Shagdar wrote:
> Hi list?
>
> One of my functions in my pyrex file should be loaded from DLL library.
> But when I compile, I recieve "unresolved external symbol _xxx" LINK error.
> The DLL file exists in same folder with my pyx file.
> How can I link it?  ( I'm building my module using Distutils on Windows with MS VS2005)
>
>   

I haven't used VC recently so forgot to mention the following. You are 
aware that VC doesn't link against a DLL, but rather its .lib static 
library stub file. That must be in the linker's library search path. The 
actual dll can be anywhere within Windows executable search path.


-- 
Lenard Lindstrom
<len-l at telus.net>


_______________________________________________
Pyrex mailing list
Pyrex at lists.copyleft.no
http://lists.copyleft.no/mailman/listinfo/pyrex





 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.



More information about the Pyrex mailing list