[C++-sig] Problems with compiling with 'Hello World' from Boost::python
David Abrahams
dave at boost-consulting.com
Sun Sep 9 21:42:41 CEST 2007
on Fri Sep 07 2007, Martin Rosekeit <martin.rosekeit-AT-freenet.de> wrote:
> Moin, moin, group,
>
> I have problems to compile the 'Hello World' from Boost::python (http://www.boost.org/libs/python/doc/tutorial/doc/html/index.html).
>
> When I start bjam I get the following error message:
> $ bjam
> error: Could not find parent for project at '.'
> error: Did not find Jamfile or project-root.jam in any parent directory.
Sounds like the tutorial may be broken.
Please try the instructions at http://boost.org/libs/python/doc/building.html
> My test-folder:
> ~/temp$ ls
> hellp.cpp Jamfile Jamrules
>
> My Jamfile:
> # This is the top of our own project tree
> project-root ;
>
> import python ;
>
> extension hello # Declare a Python extension called hello
> : hello.cpp # source
> # requirements and dependencies for Boost.Python extensions
> <template>@boost/libs/python/build/extension
Okay, IIUC that's strictly a Boost.Build-v1-ism. If so, and you got
that formula from the tutorial, the tutorial is definitely broken.
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com
More information about the Cplusplus-sig
mailing list