Help to BUILD AND INSTALL Boost Libraries

Hello!! All, I ned help for BUILDING and INSTALLING the Boost Libraries through VC++ Express Edition . I tweaked it for couple of hrs unscussefully. Here is a run down of the steps I have taken Downloaded following three packs boost_1_33_1 boost-build-2.0-m10 boost-jam-3.1.12 Changed vcvars32.bat for PATH,INCLUDE and LIB settings for Platform SDK OS Environemental variables BOOST BOOST_BUILD_PATH VC80_ROOTS VC80CMNTOOLS Use of 'bjam install' or 'bjam "-sTOOLS=vc8" install ' generates following ERRORS/MESSAGE ------------------------------------------------------------------------------------------------------------------------------------------------------------------ C:/dnld/BOOST/boost_1_33_1/tools/build/v2\build-system.jam:48: in load rule os.environ unknown in module build-system. ------------------------------------------------------------------------------------------------------------------------------------------------------------------ C:\dnld\BOOST\boost-build-2.0-m10\boost-build\kernel\modules.jam:259: in import C:\dnld\BOOST\boost-build-2.0-m10\boost-build\kernel\bootstrap.jam:120: in boost-build C:\dnld\BOOST\boost-build-2.0-m10\boost-build\boost-build.jam:1: in module scope can someone of you take a while to show pointers to correct me. Thanks for all your time. Hemal Patel

Hi Try bjam "-sTOOLS=vc80" (NB: the zero after the 8), have you looked at the instructions at http://boost.org/tools/build/v1/vc-8_0-tools.html Thanks Hemal patel wrote:
Hello!! All,
I ned help for BUILDING and INSTALLING the Boost Libraries through VC++ Express Edition . I tweaked it for couple of hrs unscussefully.
Here is a run down of the steps I have taken
Downloaded following three packs boost_1_33_1 boost-build-2.0-m10 boost-jam-3.1.12
Changed vcvars32.bat for PATH,INCLUDE and LIB settings for Platform SDK
OS Environemental variables BOOST BOOST_BUILD_PATH VC80_ROOTS VC80CMNTOOLS
Use of 'bjam install' or 'bjam "-sTOOLS=vc8" install ' generates following ERRORS/MESSAGE
------------------------------------------------------------------------------------------------------------------------------------------------------------------ C:/dnld/BOOST/boost_1_33_1/tools/build/v2\build-system.jam:48: in load rule os.environ unknown in module build-system. ------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\dnld\BOOST\boost-build-2.0-m10\boost-build\kernel\modules.jam:259: in import C:\dnld\BOOST\boost-build-2.0-m10\boost-build\kernel\bootstrap.jam:120: in boost-build C:\dnld\BOOST\boost-build-2.0-m10\boost-build\boost-build.jam:1: in module scope
can someone of you take a while to show pointers to correct me. Thanks for all your time.
Hemal Patel
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hi! Jan,
I tried the one you have suggested, and I get message like ,
vc80-tools.jam: NO such file or directory.
Yes, I did visit http://boost.org/tools/build/v1/vc-8_0-tools.html and
followed all the insturctions for vcvars32.bat and
other tips, but it did not work.
I also tried..
bjam -sTOOLS=msvc --v2
but it does not generate libs in C:\BOOST\.
I wonder, if I'm not executing bjam from right location, I use BOOST ROOT
DIRECTORY to execute bjam for complete installation.
For individual library like regex, I 'm able to compile from its source
using its make file.
but I can not compile library like program_options from its source file as
there is no make file available.
since regex is dependent of program_options, I'm stuck
pl comment .
Thanks for your time.
Hemal
On 6/8/06, Jan Stetka
Hi
Try bjam "-sTOOLS=vc80" (NB: the zero after the 8), have you looked at the instructions at http://boost.org/tools/build/v1/vc-8_0-tools.html
Thanks
Hemal patel wrote:
Hello!! All,
I ned help for BUILDING and INSTALLING the Boost Libraries through VC++ Express Edition . I tweaked it for couple of hrs unscussefully.
Here is a run down of the steps I have taken
Downloaded following three packs boost_1_33_1 boost-build-2.0-m10 boost-jam-3.1.12
Changed vcvars32.bat for PATH,INCLUDE and LIB settings for Platform SDK
OS Environemental variables BOOST BOOST_BUILD_PATH VC80_ROOTS VC80CMNTOOLS
Use of 'bjam install' or 'bjam "-sTOOLS=vc8" install ' generates following ERRORS/MESSAGE
------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:/dnld/BOOST/boost_1_33_1/tools/build/v2\build-system.jam:48: in load rule os.environ unknown in module build-system.
------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\dnld\BOOST\boost-build-2.0-m10\boost-build\kernel\modules.jam:259: in import C:\dnld\BOOST\boost-build-2.0-m10\boost-build\kernel\bootstrap.jam:120: in boost-build C:\dnld\BOOST\boost-build-2.0-m10\boost-build\boost-build.jam:1: in module scope
can someone of you take a while to show pointers to correct me. Thanks for all your time.
Hemal Patel
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hemal Patel wrote:
I wonder, if I'm not executing bjam from right location, I use BOOST ROOT DIRECTORY to execute bjam for complete installation.
I find it doesn't matter what directory you execute bjam from it works. That is it is built once and i copy the bjam executable between projects i want to build. That is with vc7.1
I tried the one you have suggested, and I get message like , vc80-tools.jam : NO such file or directory.
It looks like the 'bjam "-sTOOLS=vc8" you were using was the correct name for the toolset. Thanks

Why don't you use boost installer? It will download and install all required libs, headers and sources: http://www.boost-consulting.com/download.html You will only need to set correct path to boost libs in VC8. With Kind Regards, Ovanes Markarian On Thu, June 8, 2006 19:41, Hemal patel wrote:
Hi! Jan,
I tried the one you have suggested, and I get message like , vc80-tools.jam: NO such file or directory.
Yes, I did visit http://boost.org/tools/build/v1/vc-8_0-tools.html and followed all the insturctions for vcvars32.bat and other tips, but it did not work.
I also tried.. bjam -sTOOLS=msvc --v2
but it does not generate libs in C:\BOOST\.
I wonder, if I'm not executing bjam from right location, I use BOOST ROOT DIRECTORY to execute bjam for complete installation.
For individual library like regex, I 'm able to compile from its source using its make file. but I can not compile library like program_options from its source file as there is no make file available. since regex is dependent of program_options, I'm stuck
pl comment .
Thanks for your time.
Hemal
On 6/8/06, Jan Stetka
wrote: Hi
Try bjam "-sTOOLS=vc80" (NB: the zero after the 8), have you looked at the instructions at http://boost.org/tools/build/v1/vc-8_0-tools.html
Thanks
Hemal patel wrote:
Hello!! All,
I ned help for BUILDING and INSTALLING the Boost Libraries through VC++ Express Edition . I tweaked it for couple of hrs unscussefully.
Here is a run down of the steps I have taken
Downloaded following three packs boost_1_33_1 boost-build-2.0-m10 boost-jam-3.1.12
Changed vcvars32.bat for PATH,INCLUDE and LIB settings for Platform SDK
OS Environemental variables BOOST BOOST_BUILD_PATH VC80_ROOTS VC80CMNTOOLS
Use of 'bjam install' or 'bjam "-sTOOLS=vc8" install ' generates following ERRORS/MESSAGE
------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:/dnld/BOOST/boost_1_33_1/tools/build/v2\build-system.jam:48: in load rule os.environ unknown in module build-system.
------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\dnld\BOOST\boost-build-2.0-m10\boost-build\kernel\modules.jam:259: in import C:\dnld\BOOST\boost-build-2.0-m10\boost-build\kernel\bootstrap.jam:120: in boost-build C:\dnld\BOOST\boost-build-2.0-m10\boost-build\boost-build.jam:1: in module scope
can someone of you take a while to show pointers to correct me. Thanks for all your time.
Hemal Patel
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Ovanes,
Thanks for your link, It worked cleancly and now I'm able to access REGEX.
Rene,
I did try as per your suggestion, but it didn't work , it gives some errors
related to lex and bison.
Thanks all of you for precious time.
Hemal Patel
On 6/8/06, Ovanes Markarian
Why don't you use boost installer? It will download and install all required libs, headers and sources:
http://www.boost-consulting.com/download.html
You will only need to set correct path to boost libs in VC8.
With Kind Regards,
Ovanes Markarian
On Thu, June 8, 2006 19:41, Hemal patel wrote:
Hi! Jan,
I tried the one you have suggested, and I get message like , vc80-tools.jam: NO such file or directory.
Yes, I did visit http://boost.org/tools/build/v1/vc-8_0-tools.html and followed all the insturctions for vcvars32.bat and other tips, but it did not work.
I also tried.. bjam -sTOOLS=msvc --v2
but it does not generate libs in C:\BOOST\.
I wonder, if I'm not executing bjam from right location, I use BOOST ROOT DIRECTORY to execute bjam for complete installation.
For individual library like regex, I 'm able to compile from its source using its make file. but I can not compile library like program_options from its source file as there is no make file available. since regex is dependent of program_options, I'm stuck
pl comment .
Thanks for your time.
Hemal
On 6/8/06, Jan Stetka
wrote: Hi
Try bjam "-sTOOLS=vc80" (NB: the zero after the 8), have you looked at the instructions at http://boost.org/tools/build/v1/vc-8_0-tools.html
Thanks
Hemal patel wrote:
Hello!! All,
I ned help for BUILDING and INSTALLING the Boost Libraries through
VC++
Express Edition . I tweaked it for couple of hrs unscussefully.
Here is a run down of the steps I have taken
Downloaded following three packs boost_1_33_1 boost-build-2.0-m10 boost-jam-3.1.12
Changed vcvars32.bat for PATH,INCLUDE and LIB settings for Platform SDK
OS Environemental variables BOOST BOOST_BUILD_PATH VC80_ROOTS VC80CMNTOOLS
Use of 'bjam install' or 'bjam "-sTOOLS=vc8" install ' generates following ERRORS/MESSAGE
C:/dnld/BOOST/boost_1_33_1/tools/build/v2\build-system.jam:48: in load rule os.environ unknown in module build-system.
C:\dnld\BOOST\boost-build-2.0-m10\boost-build\kernel\modules.jam:259:in import C:\dnld\BOOST\boost-
build-2.0-m10\boost-build\kernel\bootstrap.jam:120:
in boost-build C:\dnld\BOOST\boost-build-2.0-m10\boost-build\boost-build.jam:1: in module scope
can someone of you take a while to show pointers to correct me. Thanks for all your time.
Hemal Patel
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hemal patel wrote:
OS Environemental variables BOOST BOOST_BUILD_PATH
Try removing those two env variables. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
participants (4)
-
Hemal patel
-
Jan Stetka
-
Ovanes Markarian
-
Rene Rivera