Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost 1.37 will not build for me on Windows
From: Larry E. Ramey (hydrajak_at_[hidden])
Date: 2008-11-20 15:15:05


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

That is EXACTLY what I was doing.... I'm checking the source into our own repository so our devs can always check it out and build it and I simply copied 1.37 over 1.35. Thanks Volodya.

The improved error messages will help, but since we mostly use old school style perforce jam files I doubt I would have figured it out. (Though someone else less clueless than I might have)

Larry

      



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