
Hi, I am trying to use bjam, through building a 'hello' project. However, I receive the following: $ bjam Unable to load Boost.Build: could not find build system. --------------------------------------------------------- C:\cygwin\home\Veghj\projects\hello\boost-build.jam attempted to load the build system by invoking 'boost-build /cygdrive/c/veghj/projects/boost_1_33_1/tools/build/v2 ;' but we were unable to find "bootstrap.jam" in the specified directory or in BOOST_BUILD_PATH (searching /cygdrive/c/veghj/projects/boost_1_33_1/tools/ build/v2). Please consult the documentation at 'http://www.boost.org'. At the same time, the requested file is apparently there: $ ls /cygdrive/c/veghj/projects/boost_1_33_1/tools/build/v2 boost-build.jam example release_procedure.txt boost.css generators_prototype.py roll.sh bootstrap.jam hacking.txt site-config.jam build index.html test build-system.jam kernel tools changes.txt nightly.sh user-config.jam debian notes util doc options What do I wrong? Thanks for any help Janos

"Janos Vegh"
Hi,
I am trying to use bjam, through building a 'hello' project. However, I receive the following:
$ bjam Unable to load Boost.Build: could not find build system. --------------------------------------------------------- C:\cygwin\home\Veghj\projects\hello\boost-build.jam attempted to load the build system by invoking
'boost-build /cygdrive/c/veghj/projects/boost_1_33_1/tools/build/v2 ;'
but we were unable to find "bootstrap.jam" in the specified directory or in BOOST_BUILD_PATH (searching /cygdrive/c/veghj/projects/boost_1_33_1/tools/ build/v2).
Please consult the documentation at 'http://www.boost.org'.
At the same time, the requested file is apparently there:
$ ls /cygdrive/c/veghj/projects/boost_1_33_1/tools/build/v2 boost-build.jam example release_procedure.txt boost.css generators_prototype.py roll.sh bootstrap.jam hacking.txt site-config.jam build index.html test build-system.jam kernel tools changes.txt nightly.sh user-config.jam debian notes util doc options
What do I wrong?
You're running an NT build of bjam. If you want to run it under cygwin, you need a Cygwin build of bjam. -- Dave Abrahams Boost Consulting www.boost-consulting.com

David Abrahams wrote:
You're running an NT build of bjam. If you want to run it under cygwin, you need a Cygwin build of bjam.
I have been successful in using an NT build of bjam in cygwin, where I am careful to always use either relative paths or NT style paths like C:/veghj/projects/boost_1_33_1/tools/build/v2 instead of /cygdrive/c/veghj/projects/boost_1_33_1/tools/build/v2

Thanks for the idea. I even did not try to use windows-ish path under *nix.
Janos
On 6/12/06, Deane Yang
I have been successful in using an NT build of bjam in cygwin, where I am careful to always use either relative paths or NT style paths like
C:/veghj/projects/boost_1_33_1/tools/build/v2
instead of
/cygdrive/c/veghj/projects/boost_1_33_1/tools/build/v2

On 6/12/06, David Abrahams
You're running an NT build of bjam. If you want to run it under cygwin, you need a Cygwin build of bjam.
I was doing so because I could not find the needed stuff in the cygwin
disribution. Should it be there or is it a seperate package? BTW: does the distribution kit differ for these two systems? Janos
participants (3)
-
David Abrahams
-
Deane Yang
-
Janos Vegh