473,395 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1696
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bren | last post by:
Hi, Pardon my stupid, but I'm having a problem building Boost.Python as per the instructions at http://www.boost.org/libs/python/doc/building.html I got boost-build-2.0-m6.zip from...
0
by: fqueirolo | last post by:
Hello all I am trying to install boost.python on my XP box. Boost: 1.33.0 Python: 2.4.2 (Final) MinGw: 4.1.1 I try: D:\Dev\boost_1_33_0\libs\python\build>bjam...
0
by: Andrew Ayre | last post by:
Hi, I can't seem to get the library built, and any help is greatly appreciated. Here is the info: Windows XP Borland C++ Builder 5 Latest Boost source code (downloaded at the weekend) Windows...
4
by: JDJMSon | last post by:
I was wondering if someone here could help me with a problem I'm having building Python extensions with the Boost.Python library. Basically, if I have a wrapper class with something like this: ...
11
by: Osiris | last post by:
I have these pieces of C-code (NOT C++ !!) I want to call from Python. I found Boost. I have MS Visual Studio 2005 with C++. is this the idea: I write the following C source file:...
0
by: Osiris | last post by:
My experiences with BOOST on Windows XP and Visual C++ 2005 I'm new to Python. I built software in more than ten other computer languages. I'm not sure if that is not a handicap, when reading...
2
by: mr_gees100_peas | last post by:
Hi, I've been trying for days to make either boost.python or swig to work for me. The one I have gotten the closest to is boost. Note that this is for windows XP. I'm not much of an unix person...
0
by: devito | last post by:
hi there, for some days i try to build the boost.python tutorial "hello world" without bjam on winxp by using mingw. so i wrote a *.bat-file like the following: // --- snip...
2
by: deepest1 | last post by:
Hi everybody. I'm trying to use boost, but just don't know how to set it up. My os is winXP (installed on disk D). Python is installed in D:\Python25 MigGW compiler is installed in D:\MinGW...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.