Boost Problem! Boost.Build not found

S

Soren

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
 
R

Rob Wolfe

Soren said:
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 ;
 
S

Soren

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 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
 
S

Soren

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).

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

Thanks alot!,
Soren
 
R

Rob Wolfe

Soren said:
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.
 
S

Soren

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




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

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
 
S

Soren

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




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

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,042
Latest member
icassiem

Latest Threads

Top