470,638 Members | 1,577 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,638 developers. It's quick & easy.

Confused about Boost.Python & bjam

Hi,

I tried to get started with Boost.Python. unfortunately I never used the
bjam build system before. As it is explained in the documentation I tried
to adapt the the files form the examples directory. I copied 'Jamroot',
'boost_build.jam' and 'extending.cpp' to '~/test/'. But I am lost as to
what to do now. The docu says I should adjust the 'use-project' path. But
what to? I am using a Gentoo system, so there is no boost directory. The
librarys are in /usr/lib/ the boost build stuff is in
/usr/share/boost-build and the include files are in /usr/include/boost/.

If anyone could post minimal Jamroot & boost_build.jam files for this
setting I would be realy grateful. I think I will be able to figure out
everything else, once I have a working example.

Thanks in advance

Till
Jun 27 '08 #1
3 1508
On Apr 12, 4:53*am, Till Kranz <kr...@theorie.physik.uni-
goettingen.dewrote:
Hi,

I tried to get started with Boost.Python. unfortunately I never used the
bjam build system before. As it is explained in the documentation I tried
to adapt the the files form the examples directory. I copied 'Jamroot',
'boost_build.jam' and 'extending.cpp' to '~/test/'. But I am lost as to
what to do now. The docu says I should adjust the 'use-project' path. But
what to? I am using a Gentoo system, so there is no boost directory. The
librarys are in /usr/lib/ the boost build stuff is in
/usr/share/boost-build and the include files are in /usr/include/boost/.

If anyone could post minimal Jamroot & boost_build.jam files for this
setting I would be realy grateful. I think I will be able to figure out
everything else, once I have a working example.

Thanks in advance

* * * * Till
A few months ago, I spent a whole day trying to install boost python.
I failed. After that, I decided I'd never go near boost again.
Jun 27 '08 #2
Hi,

On Sat, 12 Apr 2008, 7stud wrote:
On Apr 12, 4:53*am, Till Kranz <kr...@theorie.physik.uni-
goettingen.dewrote:
>I tried to get started with Boost.Python.
<snip>
>I am using a Gentoo system, so there is no boost directory.
>
A few months ago, I spent a whole day trying to install boost python.
I failed. After that, I decided I'd never go near boost again.
I think I kind of managed to install boost. All the header only boost
stuff works. It was Gentoos package manager that did the installing for me
after all. I think my problem is, that the parts of boost got properly
spread out over the file system. I am sure the bjam system can handle this
but I need a starting point to find out how.

Best

Till
Jun 27 '08 #3
Till Kranz:
I tried to get started with Boost.Python. unfortunately I never used the
bjam build system before. As it is explained in the documentation I
tried to adapt the the files form the examples directory. I copied
'Jamroot', 'boost_build.jam' and 'extending.cpp' to '~/test/'. But I am
lost as to what to do now.
Yes, Boost.Python is difficult to use and the documentation isn't
that clear. I've pretty much given up for now but I do have a project
called SinkWorld that works with Boost.Python. You can access the CVS at
http://scintilla.cvs.sourceforge.net...lla/sinkworld/
and the jam config files are in the tentacle/python directory as
http://scintilla.cvs.sourceforge.net....6&view=markup
http://scintilla.cvs.sourceforge.net....2&view=markup
http://scintilla.cvs.sourceforge.net....2&view=markup

There is a mailing list which may be able to help:
http://mail.python.org/mailman/listinfo/c++-sig

Neil
Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Bren | last post: by
reply views Thread by fqueirolo | last post: by
reply views Thread by Andrew Ayre | last post: by
4 posts views Thread by JDJMSon | last post: by
2 posts views Thread by mr_gees100_peas | last post: by
2 posts views Thread by deepest1 | last post: by
1 post views Thread by Korara | last post: by
???
1 post views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.