Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost build error in build-system.jam
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-04-10 03:09:02


On Sunday, April 10, 2011 05:28:32 Dmitry Timoshenko wrote:
> Hello,
>
> I use boost.build 3.1.18 to compile my projects. I setup scripts more
> then 1 year ago. I checked scripts worked properly.
> They also works with boost 1.41.
>
> But with boost 1.45 the boost build version 3.1.18 doesn't work due to
> it's too old for boost 1.45.
>
> I downloaded nigthly build and got an error. Then I took boost build
> from boost 1.45 and got the same error.
>
> Here it is:
>
> D:/work/extra/boost-build\build-system.jam:722: in load
> *** argument error
> * rule project.load ( jamfile-location )
> * called with: ( )
> * missing argument jamfile-location
> D:/work/extra/boost-build/build\project.jam:53:see definition of rule
> 'load' being called
> D:\work\extra\boost-build\kernel\modules.jam:283: in import
> D:\work\extra\boost-build\kernel\bootstrap.jam:142: in boost-build
> D:\work\extra\boost-build\boost-build.jam:8: in module scope
>
> May be I'm wrong? May be my scripts cause the error inside boost-build
> jam sources?

For starters:

- What you your exact build command?
- In what directory is it run? What is the contents of that directory?
- What is the output if you pass extra --debug-loading option?

> I also want to ask. Why the official boost build page has the stable
> build reference to 3.1.18 version
> when the 3.1.19 is already distributed with boost?
> This can mislead sometimes when as usually go to the home page of a project
> and think yor are downloading latest stable release.
>
> The reference I'm talking about is located here
> http://www.boost.org/boost-build2/ and points here
> http://prdownloads.sourceforge.net/boost/boost-build-2.0-m12.zip

I am confused what you mean by "reference 3.1.18 here". 2.0-M12 is
the last standalone release of Boost.Build so far. It is unfortunately,
old, but we don't have a newer one. When a new one is available,
scheduled for this April, you will see a new link there. In the
meantime, nightly built version is recommended for newer Boost.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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