[C++-sig] Building Boost.Python on MingW(win98)

Zhang Le ejoy at 163.com
Wed Jun 4 15:24:47 CEST 2003

  I have some problems with building BPL on a win98 with mingw.
  After the boost_python.lib is built, bjam failed to build
  boost_python.dll with the following command (bjam -d3)

 -Wl,--enable-auto-image-base -W
 .lib  -s -shared  -o
 _python.dll"  -Lc:\Python22\libs "...some obj file name here"
 \object_operators.obj"   -lpython22  -Wl, -rpath-link, .

cannot find -lpython22

But I have seen "-Lc:\Python22\libs" in the g++ command line. And even after I copy
python22.lib from c:\Python22\libs to the building directory the error
is still there.

Am I missing something? I use python 2.2.3 with mingw2.0(gcc 3.2).
                                     Sincerely yours,
                                            Zhang Le

More information about the Cplusplus-sig mailing list