Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-04-29 19:15:57


Mat Marcus <mat_at_[hidden]> writes:

> Hi Dave,
>
> Now that I am using my windows laptop more then my mac laptop I
> decided to get up to speed with bjam. I built it successfully and
> managed to build parts of boost without error. Then I tried to build
> wave and I am having problems. I know this is totally a newbie
> question, so pelase feel free to redirect me to the appropriate
> list.

The jamboost list at yahoogroups is the right place.

> But the errors I am getting follow. Thoughts?
>
> Thanks,
> Mat
>
> bash-2.05b$ pwd
> /cygdrive/c/Home/cplusplus/wave/test
>
> bash-2.05b$ ls
> Jamfile.v2 boost-build.jam cpp_tokens list_includes
> project-root.jam wave
>
> bash-2.05b$ cat boost-build.jam
> JAMFILE = [Jj]amfile.v2 ;
>
> if ! $(BOOST_BUILD_PATH)
> {
> BOOST_BUILD_PATH = $(BOOST_ROOT)/tools/build/new ;
> }
>
> boost-build ;
>
> bash-2.05b$ bjam "-sTools=msvc"

You are using Boost.Build v2 (as evidenced by boost-build.jam) with a
Boost.Build v1 build command.

Should be:

bjam msvc

But as for finding the Jamfile, where is the directory name

/C:/home/boost/libs/program_options/build'

coming from?

I can't tell if you're using a cygwin or a windows build of bjam, but
if it's a cygwin build, setting BOOST_ROOT to a windows-style path is
probably wrong.

I *can* tell you're not up to date with the latest CVS. Try updating.

> C:\home\boost/tools/build/new\project.jam:284: in load-jamfile from
> module project
> error: Unable to load Jamfile.
> Could not find a Jamfile in directory
> /C:/home/boost/libs/program_options/build'.
> Attempted to find it with pattern '[Jj]amfile.v2'.
> Please consult the documentation at 'http://www.boost.org'.
> C:\home\boost/tools/build/new\project.jam:33: in project.load from
> module project
> C:\home\boost/tools/build/new\project.jam:574: in project.use from
> module project
> C:\home\boost/tools/build/new\project.jam:619: in use-project from
> module Jamfile<wave>
> wave\Jamfile.v2:7: in modules.load from module Jamfile<wave>
> C:\home\boost/tools/build/new\project.jam:319: in load-jamfile from
> module project
> C:\home\boost/tools/build/new\project.jam:33: in load from module project
> C:\home\boost/tools/build/new\project.jam:41: in project.load from
> module project
> C:\home\boost/tools/build/new\build-system.jam:63: in load from module
> build-system
> C:\home\boost/tools/build/new\modules.jam:171: in import from module modules
> C:\home\boost/tools/build/new\bootstrap.jam:41: in boost-build from module
> c:\Home\cplusplus\wave\test\boost-build.jam:8: in module scope from module
>
> bash-2.05b$ set | grep boost
> BOOST_ROOT='C:\home\boost'
> PATH='/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c
> /WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/PROGRAM
> FILES/THINKPAD/UTILITIES:/cygdrive/c/Program
> Files/Perforce:/cygdrive/c/Program Files/Objective
> Caml/bin:/cygdrive/c/Documents and Settings/mmarcus.ALEPH.000/My
> Documents/C++/EDG/win32/bin:/cygdrive/c/Home/boost/tools/build/jam_src/bin.
> ntx86:/cygdrive/c/Program Files/Microsoft Visual
> Studio/Common/Tools/WinNT:/cygdrive/c/Program Files/Microsoft Visual
> Studio/Common/MSDev98/Bin:/cygdrive/c/Program Files/Microsoft Visual
> Studio/Common/Tools:/cygdrive/c/Program Files/Microsoft Visual
> Studio/VC98/bin:/usr/X11R6/bin'
> bash-2.05b$

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.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