[C++-sig] boost.python newbie hassles

David Abrahams dave at boost-consulting.com
Fri Aug 11 17:06:11 CEST 2006


"Roberto Aguilar" <roberto.c.aguilar at gmail.com> writes:

> On 8/10/06, David Abrahams <dave at boost-consulting.com> wrote:
> [...]
>> >> 2. boost.python projects have to be located in the boost directory tree, other
>> >> than printed at the tutorial docs - as far as I have tried. If I move the
>> >> tutorial greet example to another directory and update path-global in
>> >> Jamrules I always get:
>> >>
>> >> wr@[ikarus]:~/workspace/Boost.Python/src> bjam
>> >> 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'.
>>
>> see the libs/python/example/ subdirectory of your boost distribution
>> for an example that should be transplantable.  I'm not sure why it's
>> looking for project-root.jam.  It's almost as though you edited your
>> boost-build.jam to reference the tools/build/v2 subdirectory instead
>> of tools/build/v1.  That won't work for you :)
>
> Are you saying that boost.python does not work with bbv2?  

No I'm not saying that.  The user is issuing BBv1 invocation commands,
though.

> I see Jamfile.v2 files in the example directories.  But, if I try
> compiling outside the example directory, my project will not build.

What happens?

> I am trying to use bbv2, so if that's not possible then that's my
> problem.
>
> Also, if building with bbv2 is possible, is there some documentation
> on the process?

Not yet.


-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list