Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost 1.37 will not build for me on Windows
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-11-20 13:01:03

On Thursday 20 November 2008 20:25:10 Larry E. Ramey wrote:
> I've used boost before, I've used jam before. Something about 1.37 doesn't like me.....
> So I downloaded all the sources for 1.37, I went and ran the bjam
> build.bat file. It correctly identified my compiler as vc7. (2003.NET)
> JOY.
> bjam --help works. I can get a print of my options. When I then try to run it, I get very wierd errors:
> C:\RTI\devroot\packages-src\boost>tools\jam\stage\bin.ntx86\bjam.exe
> --includedir="c:\ler\boost\" --libdir="c:\ler\boost\win32"
> --with-filesystem --builddir="c:\ler\build"
> C:/RTI/devroot/packages-src/boost/tools/build/v2/build\project.jam:292: in load-jamfile
> *** argument error
> * rule path.parent ( path )
> * called with: ( project-root.jam Jamroot )

This means some directory has both project-root.jam and Jamroot. 'project-root.jam' is old
spelling, and Jamroot is new, and Boost.Build naturally cannot load both. Are you sure
you're not unpacking 1.37 over some old tree?

I have committed a fix to improve this error message, like so:

        error: Multiple Jamfiles found at '.'
        error: Filenames are: Jamroot jamroot.jam

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at