Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Boost Problem! Boost.Build not found

Reply
Thread Tools

Boost Problem! Boost.Build not found

 
 
Soren
Guest
Posts: n/a
 
      04-16-2007
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

 
Reply With Quote
 
 
 
 
Rob Wolfe
Guest
Posts: n/a
 
      04-16-2007

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

 
Reply With Quote
 
 
 
 
Soren
Guest
Posts: n/a
 
      04-16-2007
On 16 Apr., 12:53, "Rob Wolfe" <(E-Mail Removed)> 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

 
Reply With Quote
 
Soren
Guest
Posts: n/a
 
      04-16-2007
On 16 Apr., 12:53, "Rob Wolfe" <(E-Mail Removed)> 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

 
Reply With Quote
 
Rob Wolfe
Guest
Posts: n/a
 
      04-16-2007

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

 
Reply With Quote
 
Soren
Guest
Posts: n/a
 
      04-16-2007
On 16 Apr., 14:28, "Rob Wolfe" <(E-Mail Removed)> 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


 
Reply With Quote
 
Soren
Guest
Posts: n/a
 
      04-16-2007
On 16 Apr., 14:28, "Rob Wolfe" <(E-Mail Removed)> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boost::any and boost::lambda with std::find_if Misiu C++ 3 01-31-2007 05:46 PM
#include <boost/shared_ptr.hpp> or #include "boost/shared_ptr.hpp"? Colin Caughie C++ 1 08-29-2006 02:19 PM
Problems mixing boost::lambda::bind and boost::shared_ptr.. Toby Bradshaw C++ 6 06-02-2006 04:12 PM
Any Boost Experts out there for Boost.Regex? Richard Latter C++ 2 05-17-2004 03:12 PM
Boost + Python C/API: Mixing python return types with boost return types Steve Knight Python 2 10-10-2003 10:11 AM



Advertisments