Boost logo

Boost-Build :

From: FoxMulder900 (foxmulder900_at_[hidden])
Date: 2008-07-10 13:15:38


Hello, I am an experienced c++ and python programmer, however I am new at
using boost. I am trying to get a simple boost python program to compile -
following the tutorial here
http://www.boost.org/doc/libs/1_35_0/libs/python/doc/tutorial/doc/html/python/hello.html
http://www.boost.org/doc/libs/1_35_0/libs/python/doc/tutorial/doc/html/python/hello.html
my problem is that when i run bjam on the given example, i get the following
output:

C:\Documents and Settings\New user\Desktop\BoostTest>bjam
Jamroot:14: in modules.load
*** argument error
* rule use-project ( id : where )
* called with: ( boost C:/Program Files/boost/boost_1_35_0; project :
requiremen
ts <library>/boost/python//boost_python )
* extra argument C:/Program
C:/Program Files/boost/boost-build/build\project.jam:956:see definition of
rule
'use-project' being called
C:/Program Files/boost/boost-build/build\project.jam:312: in load-jamfile
C:/Program Files/boost/boost-build/build\project.jam:68: in load
C:/Program Files/boost/boost-build/build\project.jam:170: in project.find
C:/Program Files/boost/boost-build\build-system.jam:248: in load
C:\Program Files\boost\boost-build/kernel\modules.jam:261: in import
C:\Program Files\boost\boost-build/kernel/bootstrap.jam:132: in boost-build
C:\Documents and Settings\New user\Desktop\boost-build.jam:11: in module
scope

I have installed boost using the installer, I have downloaded boost-build
and edited the user-config.jam to contain the following:

# Configure msvc (default version, searched in standard location
# and PATH).
using msvc ;

# Python configuration
using python : 2.5 : C:/Python25 ;

I have also modified the Jamroot file in the example directory to contain:
use-project boost
  C:/Program Files/boost/boost_1_35_0;

If anyone can point out what I am doing incorrectly it would be much
appreciated!

-- 
View this message in context: http://www.nabble.com/Problem-building-python-helloworld-with-bjam-tp18387404p18387404.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk