|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-08-06 06:05:42
----- Original Message -----
From: <Peter.Bienstman_at_[hidden]>
> Has anyone ever succesfully built a Boost Python extension module
> under Cygwin?
Yes, I have done it.
> Even after a lot of research in mailing list archives, I still get
> linking errors.
The problem is that you need to link to the Python DLL. The only way I've
found to do that is to rebuild Python under Cygwin. Unfortunately, the
regular Python import libraries don't seem to work. On my machine, I have to
add c:/cygnus/lib/python2.1/config/libpython2.1.dll.a to the link line.
HTH,
Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk