469,589 Members | 2,147 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,589 developers. It's quick & easy.

Boost Problem! Boost.Build not found

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

Apr 16 '07 #1
6 7286

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

Apr 16 '07 #2
On 16 Apr., 12:53, "Rob Wolfe" <r...@smsnet.plwrote:
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

Apr 16 '07 #3
On 16 Apr., 12:53, "Rob Wolfe" <r...@smsnet.plwrote:
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

Apr 16 '07 #4

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

Apr 16 '07 #5
On 16 Apr., 14:28, "Rob Wolfe" <r...@smsnet.plwrote:
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
Apr 16 '07 #6
On 16 Apr., 14:28, "Rob Wolfe" <r...@smsnet.plwrote:
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
Apr 16 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Bruce Davis | last post: by
11 posts views Thread by Kostatus | last post: by
117 posts views Thread by Peter Olcott | last post: by
17 posts views Thread by Jon Slaughter | last post: by
5 posts views Thread by IkBenHet | last post: by
14 posts views Thread by Christian Kaiser | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.