|
Boost Users : |
From: Seweryn Habdank-Wojewódzki (habdank_at_[hidden])
Date: 2007-04-11 11:27:47
Hi!
Can any one tell me in details how to prepare jam file for boost.python
example, please.
I have a test project in directory (on Gentoo linux)
~/Tests/
path to the boost-build is
/usr/share/boost-build
path to the boost includes is
/usr/include/boost
path to the boost libs is
/usr/lib
path to the python includes is
/usr/include/python2.4
path to the python libs is
/usr/lib/python2.4
Should I have original "boost directory tree"?
I have prepared jam file, but still I have an error:
Unable to load Boost.Build: could not find "boost-build.jam"
Attempted search from /home/sevi/Workspace/Python/boost up to the root
and in these directories from BOOST_BUILD_PATH and
BOOST_ROOT: /usr/share/boost-build, /usr/share/boost-build/.
###############################################
# my jam file
###############################################
# This is the top of our own project tree
BOOST_ROOT = /usr/include/boost/ ;
BOOST_BUILD_PATH = /usr/share/boost-build/ ;
#boost-build /usr/share/boost-build/v1 ;
PYTHON_VERSION = 2.4 ;
PYTHON_ROOT = /usr/lib/python2.4/ ;
PYTHON_INCLUDES = /usr/include/python2.4/ ;
PYTHON_LIB_PATH = /usr/lib/python2.4/ ;
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
;
ALL_LOCATE_TARGET = .
-- |\/\/| Seweryn Habdank-Wojewódzki \/\/ To reply remove "n0-5p4m-" from e-mail address.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net