From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-04 08:12:11
David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> > David Abrahams wrote:
> >> Is it possible to build Python extensions (on Windows) with BBv2
> >> yet? What would it take to get that going?
> > I've got 'getting_started1' module build after making the attached
> > changes (which still are not ready to be comitted).
> > Alas, loading the module does not work. I get an error that MSVCP60D.dll
> > is not found, and I don't know what this DLL is and where it comes from.
> > Any ideas?
> As Pedro remarked, it's part of the msvc runtime. We need a free
> run-path feature which gets propagated from dependencies to dependents
> and can be used to set up the PATH before anything is run.
That would not help in this case: I'm executing "python" manually, not by
> I have a concern about this change:
> > ===================================================================
> > RCS file: /cvsroot/boost/boost/tools/build/tools/msvc.jam,v
> > retrieving revision 1.10
> > diff -u -r1.10 msvc.jam
> > --- tools/msvc.jam 18 Aug 2003 04:39:43 -0000 1.10
> > +++ tools/msvc.jam 4 Sep 2003 09:09:13 -0000
> > @@ -313,6 +313,7 @@
> > flags msvc NEEDLIBS <library-file> ;
> > flags msvc LINKFLAGS <main-target-type>LIB/<link>shared : /DLL ;
> > +flags msvc LINKFLAGS <main-target-type>PYTHON_EXTENSION/<link>shared :
> > /DLL ;
> > toolset.flags msvc.link USER_LINKFLAGS <linkflags> ;
> > toolset.flags msvc.link LINKPATH <library-path> ;
> It seems to me that <main-target-type>PYTHON_EXTENSION ought to be
> expanded into something which includes
> <main-target-type>LIB/<link>shared. Otherwise, target type
> inheritance doesn't have much power.
Yep. The change I've made is not a good solution and we need to find a better
> Thanks for your efforts; I'll try this one out. I think ultimately
> we need a python toolset, since for example I have multiple python
> versions installed, and I have Python2.3
I though about the same.
using python : 2.2 : H:\ProgramFiles\Python22 ;
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk