[C++-sig] Re: boost.python + mingw + msvc python

David Abrahams dave at boost-consulting.com
Wed Apr 7 16:32:56 CEST 2004

Daniel Holth <dholth at fastmail.fm> writes:

> Hash: SHA1
> Have any of you used a mingw compiled Boost.Python to compile an
> extension for MSVC python (the standard python.org python)?

Yes, all the time.

> I've had a pretty straightforwards experience using ming to compile
> Boost.Python (on an XP box, sadly NOT cross compiled from a Linux
> machine) making gcc libraries for various dlls, and I can compile the
> extension itself.
> Unfortunately when I try to import the extension I get a vague sort of
> 'dll not found' error.
> I know this is vague, I just would like to know if anyone has
> succeeded in compiling a working Python+Boost.Python extension this
> way.  I'm trying to wrap ogg, vorbis and theora.
> (http://dingoskidneys.com/oggpy/)

Just use bjam with -sTOOLS=mingw -d+2 to build any of the examples.
Then you can both see it work, and see the commands used to make it

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list