Boost Problem! Boost.Build not found

Discussion in 'Python' started by Soren, Apr 16, 2007.

  1. Soren

    Soren Guest

    Hi!

    I'm trying to extend my python program with some C++ code. Right now
    I've spent hours just trying to get boost to work!

    I'm trying to get the example hello.cpp to work.

    Using Windows XP and Visual Studio 8 (.NET 2005)

    I've set BOOST_BUILD_PATH = C:\boost\boost_1_33_1 (where i installed
    boost)

    I've changed the jamrules in C:\boost\boost_1_33_1\libs\python\example
    \tutorial to

    path-global BOOST_ROOT : C:\boost\boost_1_33_1 ;



    No matter what I do i always get:

    C:\boost\boost_1_33_1\libs\python\example\tutorial>bjam -sTOOLS=vc-8_0


    Unable to load Boost.Build: could not find "boost-build.jam"
    ---------------------------------------------------------------
    Attempted search from C:\boost\boost_1_33_1\libs\python\example
    \tutorial up to t
    he root and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
    C:\boost\boost_1_
    33_1.
    Please consult the documentation at 'http://www.boost.org'.

    Can anyone please tell me what I am doing wrong?? Theres no tutorial
    on how to make a boost-build.jam file.. and as I understand I don't
    need one as long as I set BOOST_BUILD_PATH ..

    Any help is apprecieated!!

    Thanks!,
    Soren
     
    Soren, Apr 16, 2007
    #1
    1. Advertising

  2. Soren

    Rob Wolfe Guest

    Soren wrote:

    > Unable to load Boost.Build: could not find "boost-build.jam"
    > ---------------------------------------------------------------
    > Attempted search from C:\boost\boost_1_33_1\libs\python\example
    > \tutorial up to t
    > he root and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
    > C:\boost\boost_1_
    > 33_1.
    > Please consult the documentation at 'http://www.boost.org'.
    >
    > Can anyone please tell me what I am doing wrong?? Theres no tutorial
    > on how to make a boost-build.jam file.. and as I understand I don't
    > need one as long as I set BOOST_BUILD_PATH ..


    Try to create boost-build.jam file like this:

    # boost-build.jam
    boost-build C:\boost\boost_1_33_1\tools\build\v1 ;

    --
    HTH,
    Rob
     
    Rob Wolfe, Apr 16, 2007
    #2
    1. Advertising

  3. Soren

    Soren Guest

    On 16 Apr., 12:53, "Rob Wolfe" <> wrote:
    > Soren wrote:
    > > Unable to load Boost.Build: could not find "boost-build.jam"
    > > ---------------------------------------------------------------
    > > Attempted search from C:\boost\boost_1_33_1\libs\python\example
    > > \tutorial up to t
    > > he root and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
    > > C:\boost\boost_1_
    > > 33_1.
    > > Please consult the documentation at 'http://www.boost.org'.

    >
    > > Can anyone please tell me what I am doing wrong?? Theres no tutorial
    > > on how to make a boost-build.jam file.. and as I understand I don't
    > > need one as long as I set BOOST_BUILD_PATH ..

    >
    > Try to create boost-build.jam file like this:
    >
    > # boost-build.jam
    > boost-build C:\boost\boost_1_33_1\tools\build\v1 ;
    >
    > --
    > HTH,
    > Rob



    Hi Rob, Thanks for answer!

    It did solve the error... but created a new one:

    C:\boost\boost_1_33_1\libs\python\example\tutorial>bjam -sTOOLS=vc-8_0

    Unable to load Boost.Build: could not find build system.
    ---------------------------------------------------------
    C:\boost\boost_1_33_1\libs\python\example\boost-build.jam attempted to
    load the
    build system by invoking

    'boost-build C:/boost/boost_1_33_1/tools/build/v1 ;'

    but we were unable to find "bootstrap.jam" in the specified directory
    or in BOOST_BUILD_PATH (searching C:\boost\boost_1_33_1, C:/boost/
    boost_1_33_1/t
    ools/build/v1).


    What is boostrap.jam? I haven't seen that one mentioned in the short
    tutorial...

    Thanks!,
    Soren
     
    Soren, Apr 16, 2007
    #3
  4. Soren

    Soren Guest

    On 16 Apr., 12:53, "Rob Wolfe" <> wrote:
    > Soren wrote:
    > > Unable to load Boost.Build: could not find "boost-build.jam"
    > > ---------------------------------------------------------------
    > > Attempted search from C:\boost\boost_1_33_1\libs\python\example
    > > \tutorial up to t
    > > he root and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
    > > C:\boost\boost_1_
    > > 33_1.
    > > Please consult the documentation at 'http://www.boost.org'.

    >
    > > Can anyone please tell me what I am doing wrong?? Theres no tutorial
    > > on how to make a boost-build.jam file.. and as I understand I don't
    > > need one as long as I set BOOST_BUILD_PATH ..

    >
    > Try to create boost-build.jam file like this:
    >
    > # boost-build.jam
    > boost-build C:\boost\boost_1_33_1\tools\build\v1 ;
    >
    > --
    > HTH,
    > Rob



    Hi Rob, Thanks for the answer!

    It did solve the error.. but produced a new one:

    C:\boost\boost_1_33_1\libs\python\example\tutorial>bjam -sTOOLS=vc-8_0
    Unable to load Boost.Build: could not find build system.
    ---------------------------------------------------------
    C:\boost\boost_1_33_1\libs\python\example\boost-build.jam attempted to
    load the
    build system by invoking

    'boost-build C:/boost/boost_1_33_1/tools/build/v1 ;'

    but we were unable to find "bootstrap.jam" in the specified directory
    or in BOOST_BUILD_PATH (searching C:\boost\boost_1_33_1, C:/boost/
    boost_1_33_1/t
    ools/build/v1).

    What is bootstrap.jam? .. Haven't seen that one in the short
    tutorial...

    Thanks alot!,
    Soren
     
    Soren, Apr 16, 2007
    #4
  5. Soren

    Rob Wolfe Guest

    Soren wrote:

    > > Try to create boost-build.jam file like this:
    > >
    > > # boost-build.jam
    > > boost-build C:\boost\boost_1_33_1\tools\build\v1 ;

    >
    >
    > Hi Rob, Thanks for the answer!
    >
    > It did solve the error.. but produced a new one:
    >
    > C:\boost\boost_1_33_1\libs\python\example\tutorial>bjam -sTOOLS=vc-8_0
    > Unable to load Boost.Build: could not find build system.
    > ---------------------------------------------------------
    > C:\boost\boost_1_33_1\libs\python\example\boost-build.jam attempted to
    > load the
    > build system by invoking
    >
    > 'boost-build C:/boost/boost_1_33_1/tools/build/v1 ;'
    >
    > but we were unable to find "bootstrap.jam" in the specified directory
    > or in BOOST_BUILD_PATH (searching C:\boost\boost_1_33_1, C:/boost/
    > boost_1_33_1/t
    > ools/build/v1).


    There is something wrong with your boost installation.
    Do you have subdirectory tools/build/v1 in your installation?

    >
    > What is bootstrap.jam? .. Haven't seen that one in the short
    > tutorial...


    It is essential for boost build system that the file bootstrap.jam
    could be found.

    --
    HTH,
    Rob
     
    Rob Wolfe, Apr 16, 2007
    #5
  6. Soren

    Soren Guest

    On 16 Apr., 14:28, "Rob Wolfe" <> wrote:
    > Soren wrote:
    > > > Try to create boost-build.jam file like this:

    >
    > > > # boost-build.jam
    > > > boost-build C:\boost\boost_1_33_1\tools\build\v1 ;

    >
    > > Hi Rob, Thanks for the answer!

    >
    > > It did solve the error.. but produced a new one:

    >
    > > C:\boost\boost_1_33_1\libs\python\example\tutorial>bjam -sTOOLS=vc-8_0
    > > Unable to load Boost.Build: could not find build system.
    > > ---------------------------------------------------------
    > > C:\boost\boost_1_33_1\libs\python\example\boost-build.jam attempted to
    > > load the
    > > build system by invoking

    >
    > > 'boost-build C:/boost/boost_1_33_1/tools/build/v1 ;'

    >
    > > but we were unable to find "bootstrap.jam" in the specified directory
    > > or in BOOST_BUILD_PATH (searching C:\boost\boost_1_33_1, C:/boost/
    > > boost_1_33_1/t
    > > ools/build/v1).

    >
    > There is something wrong with your boost installation.
    > Do you have subdirectory tools/build/v1 in your installation?
    >
    >
    >
    > > What is bootstrap.jam? .. Haven't seen that one in the short
    > > tutorial...

    >
    > It is essential for boost build system that the file bootstrap.jam
    > could be found.
    >
    > --
    > HTH,
    > Rob


    Hmm, I see I forgot to install boost-build .. all i did was install
    boost_1_33_1.exe.. thought it had it all. Now I have unzipped boost-
    build-2.0-m11.zip inside my boost_1_33_1 directory. It contains a
    bootstrap.jam file

    and a new error appear:

    C:\boost_1_33_1\libs\python\example\tutorial>bjam sTOOLS=vc-8_0

    error: Could not find parent for project at '../../../..'
    error: Did not find Jamfile or project-root.jam in any parent
    directory.

    In case you didn't guess... I am totally lost by now! :) If I ever get
    this thing up and running.. I will write a new tutorial and send it to
    boost.

    Thanks!
    Soren
     
    Soren, Apr 16, 2007
    #6
  7. Soren

    Soren Guest

    On 16 Apr., 14:28, "Rob Wolfe" <> wrote:
    > Soren wrote:
    > > > Try to create boost-build.jam file like this:

    >
    > > > # boost-build.jam
    > > > boost-build C:\boost\boost_1_33_1\tools\build\v1 ;

    >
    > > Hi Rob, Thanks for the answer!

    >
    > > It did solve the error.. but produced a new one:

    >
    > > C:\boost\boost_1_33_1\libs\python\example\tutorial>bjam -sTOOLS=vc-8_0
    > > Unable to load Boost.Build: could not find build system.
    > > ---------------------------------------------------------
    > > C:\boost\boost_1_33_1\libs\python\example\boost-build.jam attempted to
    > > load the
    > > build system by invoking

    >
    > > 'boost-build C:/boost/boost_1_33_1/tools/build/v1 ;'

    >
    > > but we were unable to find "bootstrap.jam" in the specified directory
    > > or in BOOST_BUILD_PATH (searching C:\boost\boost_1_33_1, C:/boost/
    > > boost_1_33_1/t
    > > ools/build/v1).

    >
    > There is something wrong with your boost installation.
    > Do you have subdirectory tools/build/v1 in your installation?
    >
    >
    >
    > > What is bootstrap.jam? .. Haven't seen that one in the short
    > > tutorial...

    >
    > It is essential for boost build system that the file bootstrap.jam
    > could be found.
    >
    > --
    > HTH,
    > Rob


    Hi Rob! Thanks for the help!

    It turned out the installation had not installed all files... .. but
    gave no error!!?? .. anyway, I redownloaded and installed and now it
    works! Wouldn't have guessed it if you haven't said the installation
    was corrupt. thanks!

    Cheers,
    Soren
     
    Soren, Apr 16, 2007
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. William Parker
    Replies:
    1
    Views:
    3,111
    Martin
    Jun 27, 2004
  2. Replies:
    3
    Views:
    569
  3. Janet
    Replies:
    4
    Views:
    421
    Juan T. Llibre
    Oct 11, 2006
  4. Trent Mick
    Replies:
    0
    Views:
    486
    Trent Mick
    Apr 3, 2008
  5. Jacob Davis
    Replies:
    0
    Views:
    509
    Jacob Davis
    Apr 15, 2008
Loading...

Share This Page