[C++-sig] Complete confustion about using Boost.Python

Eduardo Picado eduardo.picado at gmail.com
Mon Sep 18 23:53:43 CEST 2006


Now I remember I've had exactly the same problem when doing my first
extensions using BPL and bjam.
I think would be good to have at least a FAQ "How to compile
extensions out of the example directory?"

Eduardo


On 9/18/06, Noah Schwartz <noah.schwartz1 at gmail.com> wrote:
> Thanks David ;D
>
> I had eventually figured this out when I realized that I didn't have a
> build/tools/v1 directory installed anyone on my machine.
>
> This is sort of confusing and isn't at all immediately obvious (to me
> at least). Maybe the documentation should be updated?
>
> Noah
>
> On 9/18/06, David Huebel <davidhuebel at gmail.com> wrote:
> > On 9/14/06, Noah Schwartz <noah.schwartz1 at gmail.com> wrote:
> > > Failed to find the project root for directory '.'.
> > > Did not find a project-root.jam file there or in any of its parent
> > > directories.
> > > Please consult the documentation at 'http://www.boost.org'.
> >
> > The Boost directory that should be referenced by BOOST_ROOT is the
> > directory where Boost was extracted and built before installing.  The
> > files you need to develop Boost.Python extensions are not installed in
> > /usr/local/include.
> >
> > On my machine, the BOOST_ROOT directory contains the following files:
> > configure, Jamfile, Jamfile.v2, and several others, and the following
> > directories:  boost, bin, doc, libs, tools, and several others.
> >
> > This confused me when starting out with Boost.Python, because I
> > expected that everything I needed had been installed somewhere outside
> > this directory.  Actually, you will need to keep this directory around
> > indefinitely to keep developing Boost.Python extensions (unless I have
> > missed something.)
> >
> > David Huebel
> > _______________________________________________
> > C++-sig mailing list
> > C++-sig at python.org
> > http://mail.python.org/mailman/listinfo/c++-sig
> >
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>


-- 
Eduardo PICADO
MSN eduardo.picado at gmail.com
portable +33 6 32 47 10 10 (NEW)
fix +33 1 45 03 52 54
|̲̅<̲̅Θ̲̅>̲̅|


More information about the Cplusplus-sig mailing list