[C++-sig] can't get Boost.Python tutorial's "Hello World" example to work (on linux)
Joel de Guzman
joel at boost-consulting.com
Tue Oct 30 18:49:49 CET 2007
ted sandler wrote:
> Hi all,
>
> I am running linux, and although the Boost.Python "Quickstart" example
> works fine, I am not able to get the Boost.Python "Hello World" example
> working.
>
> The quickstart example is located here
> http://www.boost.org/libs/python/doc/building.html.
>
> The hello-world example is located here:
> http://www.boost.org/libs/python/doc/tutorial/doc/html/python/hello.html.
>
> There are problems with the documentation on the hello-world web page
> (I guess it's out of date). The example files in the Boost-distribution
> are different from those described in the "hello-world" tutorial.
> Specifically, the Boost distribution contains a "Jamroot" file while the
> web page discusses both a "Jamfile" and a "Jamrules" file (whose
> hyperlink is broken).
>
> Anyway, when I cd to the "hello-world" example directory and type bjam
> at the prompt, bjam fails with the error message I've listed below. Any
> help getting me up and running here would be great!
Seems the tutorial is outdated indeed. I'll need to update the
tutorial. In the meantime, see this thread:
"Trouble with Boost.Python tutorial"
where Dave suggests: "I suggest you work with
http://www.boost.org/libs/python/doc/building.html until the
tutorial gets fixed up."
Regards,
--
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net
More information about the Cplusplus-sig
mailing list