ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> cpp-sig
cpp-sig
[C++-sig] Building Boost.Python on MingW(win98)
by Zhang Le other posts by this author
Jun 4 2003 1:24PM messages near this date
[C++-sig] Re: playing with pygame | [C++-sig] Memory leak when using return_internal_reference !?
Hello, 
  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)

 g++
 -Wl,--exclude-symbols,_bss_end__:_bss_start__:_data_end__:_data_start__
 -Wl,--enable-auto-image-base -W
 l,--out-implib,..\..\..\libs\python\build\bin\boost_python.dll\mingw\release\runtime-link-d
ynamic\boost_python
 .lib  -s -shared  -o
 "..\..\..\libs\python\build\bin\boost_python.dll\mingw\release\runtime-link-dynamic\boost
 _python.dll"  -Lc:\Python22\libs "...some obj file name here"
 \object_operators.obj"   -lpython22  -Wl, -rpath-link, .

 
c:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\mingw32\bin\ld.exe:
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

_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved