Building 1.33.1 with VC .NET 2003

As far as I can tell, I followed the instructions exactly:
First you need to change to the directory where you have the Boost distribution you downloaded.
OK, I'm in boost_1_33_1. Then execute: bjam "-sTOOLS=vc-7_1" which produces: ----- Jamfile:197: in load-jamfiles *** argument error * rule install-subinclude ( jamfiles + : options * ) * called with: ( : ) * missing argument jamfiles C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of rule 'install-subinclude' being called C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost_1_33_1\boost-build.jam:16: in module scope ----- What am I doing wrong? Doc Evans

Somehow, bjam doesn't always find Visual Studio. Anyway, for Visual Studio 8.0, I use (note the quotes)
bjam "-sTOOLS=vc-8_0" "-sVC80_ROOT=C:\Program Files\Visual Studio\VC" install >> "C:\Temp\bjam.txt" 2>&1
I prefer to have a copy of the output. If you don't want it, erase the >>
++Hector C
"D. R. Evans"
First you need to change to the directory where you have the Boost distribution you downloaded.
OK, I'm in boost_1_33_1. Then execute: bjam "-sTOOLS=vc-7_1" which produces: ----- Jamfile:197: in load-jamfiles *** argument error * rule install-subinclude ( jamfiles + : options * ) * called with: ( : ) * missing argument jamfiles C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of rule 'install-subinclude' being called C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost_1_33_1\boost-build.jam:16: in module scope ----- What am I doing wrong? Doc Evans _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users ---------------------------------- --------------------------------- Yahoo! Mail Use Photomail to share photos without annoying attachments.

Calderon Hector wrote:
Somehow, bjam doesn't always find Visual Studio. Anyway, for Visual Studio 8.0, I use (note the quotes)
bjam "-sTOOLS=vc-8_0" "-sVC80_ROOT=C:\Program Files\Visual Studio\VC" install >> "C:\Temp\bjam.txt" 2>&1
Maybe you need to run vsvars32.bat? example: CALL "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat" (no newline after ".NET", obviously...)
I prefer to have a copy of the output. If you don't want it, erase the >>
++Hector C
*/"D. R. Evans"
/* wrote: As far as I can tell, I followed the instructions exactly:
> First you need to change to the directory where you have the Boost distribution you downloaded.
OK, I'm in boost_1_33_1.
Then execute:
bjam "-sTOOLS=vc-7_1"
which produces:
-----
Jamfile:197: in load-jamfiles *** argument error * rule install-subinclude ( jamfiles + : options * ) * called with: ( : ) * missing argument jamfiles C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of rule 'install-subinclude' being called C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost_1_33_1\boost-build.jam:16: in module scope
-----
What am I doing wrong?
Doc Evans
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
----------------------------------
------------------------------------------------------------------------ Yahoo! Mail Use Photomail http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=38867/*http://photomail.mail... to share photos without annoying attachments.
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

I tried what I think is the vc-7.1 equivalent:
C:\boost\boost_1_33_1>bjam "-sTOOLS=vc-7_1" "-sVC71_ROOT=c:\program
files\microsoft visual studio .net 2003\vc7"
Jamfile:197: in load-jamfiles
*** argument error
* rule install-subinclude ( jamfiles + : options * )
* called with: ( : )
* missing argument jamfiles
C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of
rule
'install-subinclude' being called
C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build
C:\boost\boost_1_33_1\boost-build.jam:16: in module scope
so, no change :-(
Doc
PS Yes, I checked that the directory actually exists
On 23/02/06, Calderon Hector
Somehow, bjam doesn't always find Visual Studio. Anyway, for Visual Studio 8.0, I use (note the quotes)
bjam "-sTOOLS=vc-8_0" "-sVC80_ROOT=C:\Program Files\Visual Studio\VC" install >> "C:\Temp\bjam.txt" 2>&1
I prefer to have a copy of the output. If you don't want it, erase the >>
++Hector C
*"D. R. Evans"
* wrote: As far as I can tell, I followed the instructions exactly:
First you need to change to the directory where you have the Boost distribution you downloaded.
OK, I'm in boost_1_33_1.
Then execute:
bjam "-sTOOLS=vc-7_1"
which produces:
-----
Jamfile:197: in load-jamfiles *** argument error * rule install-subinclude ( jamfiles + : options * ) * called with: ( : ) * missing argument jamfiles C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of rule 'install-subinclude' being called C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost_1_33_1\boost-build.jam:16: in module scope
-----
What am I doing wrong?
Doc Evans
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
----------------------------------
------------------------------ Yahoo! Mail Use Photomailhttp://pa.yahoo.com/*http://us.rd.yahoo.com/evt=38867/*http://photomail.mail...to share photos without annoying attachments.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Does "c:\program files\microsoft visual studio .net 2003\vc7" contain vcvarsall.bat (or vsvars32.bat)?
++Hector C
"D. R. Evans"
First you need to change to the directory where you have the Boost distribution you downloaded.
OK, I'm in boost_1_33_1. Then execute: bjam "-sTOOLS=vc-7_1" which produces: ----- Jamfile:197: in load-jamfiles *** argument error * rule install-subinclude ( jamfiles + : options * ) * called with: ( : ) * missing argument jamfiles C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of rule 'install-subinclude' being called C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost_1_33_1\boost- build.jam:16: in module scope ----- ---------------------------------- --------------------------------- Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.

Calderon Hector wrote:
Does "c:\program files\microsoft visual studio .net 2003\vc7" contain vcvarsall.bat (or vsvars32.bat)?
On my windows XP system it's in "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat" I always run that before doing boost builds on windows and I haven't had any problems.
++Hector C
*/"D. R. Evans"
/* wrote: I tried what I think is the vc-7.1 equivalent:
C:\boost\boost_1_33_1>bjam "-sTOOLS=vc-7_1" "-sVC71_ROOT=c:\program files\microsoft visual studio .net 2003\vc7" Jamfile:197: in load-jamfiles *** argument error * rule install-subinclude ( jamfiles + : options * ) * called with: ( : ) * missing argument jamfiles C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of rule 'install-subinclude' being called C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost_1_33_1\boost-build.jam:16: in module scope
so, no change :-(
Doc
PS Yes, I checked that the dire! ctory actually exists
On 23/02/06, *Calderon Hector*
mailto:hhcalderon@yahoo.com> wrote: Somehow, bjam doesn't always find Visual Studio. Anyway, for Visual Studio 8.0, I use (note the quotes)
bjam "-sTOOLS=vc-8_0" "-sVC80_ROOT=C:\Program Files\Visual Studio\VC" install >> "C:\Temp\bjam.txt" 2>&1
I prefer to have a copy of the output. If you don't want it, erase the >>
++Hector C
*/"D. R. Evans" < doc.evans@gmail.com mailto:doc.evans@gmail.com>/* wrote:
As far as I can tell, I followed the instructions exactly:
First you need to change to the directory where you have the Boost distribution you downloaded.
OK, I'm in boost_1_33_1.
Then execute:
bjam "-sTOOLS=vc-7_1"
which produces:
-----
Jamfile:197: in load-jamfiles *** argument error * rule install-subinclude ( jamfiles + : options * ) * called with: ( : ) * missing argument jamfiles C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of rule 'install-subinclude' being called C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost_1_33_1\boost- build.jam:16: in module scope
-----
----------------------------------
------------------------------------------------------------------------ Brings words and photos together (easily) with PhotoMail http://us.rd.yahoo.com/mail_us/taglines/PMall/*http://photomail.mail.yahoo.c... - it's free and works with Yahoo! Mail.
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On 23/02/06, Calderon Hector
Does "c:\program files\microsoft visual studio .net 2003\vc7" contain vcvarsall.bat (or vsvars32.bat)?
No, but vcvars32.bat is in the bin directory under that one. So I tried running that, and it said that it had set my environment. So then I went back and re-executed: bjam "-sTOOLS=vc-7_1" And still got: ----- C:\boost\boost_1_33_1>bjam "-sTOOLS=vc-7_1" Jamfile:197: in load-jamfiles *** argument error * rule install-subinclude ( jamfiles + : options * ) * called with: ( : ) * missing argument jamfiles C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of rule 'install-subinclude' being called C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost_1_33_1\boost-build.jam:16: in module scope C:\boost\boost_1_33_1> ----- Doc

OK, I;m not getting very far with this, am I? Presumably there must be a bzillion people who have properly built 1_33_1 with VC 7.1; but it doesn't seem like they can have followed the directions on the getting started page -- either that, or they are better at interpreting some of the vaguenesses on that page than I am. So one more, here is what I have done: 0. Placed bjam.exe in my PATH. 1. Downloaded and unzipped 1_33_1. 2. Run c:\program files\microsoft visual studio .net 2003\vc7\bin\vcvars32.bat 3. cd to the main 1_33_1 directory (the one that contains configure, jamfile and about a dozen other files). 4. Execute bjam "-sTOOLS=vc-7_1". 5. Result: Jamfile:197: in load-jamfiles *** argument error * rule install-subinclude ( jamfiles + : options * ) * called with: ( : ) * missing argument jamfiles C:\boost\boost_1_33_1\tools/build/v1\boost-base.jam:2855:see definition of rule 'install-subinclude' being called C:\boost\boost_1_33_1\tools\build\v1\bootstrap.jam:21: in boost-build C:\boost\boost_1_33_1\boost-build.jam:16: in module scope 6. It seems to be complaining about a missing argument that should be a filename of some kind. But what argument am I missing? Doc

Incidentally, I get the same result if I try: C:\boost\boost_1_33_1>bjam "-sTOOLS=vc-7_1" "-sVC71_ROOT=C:\Program Files\Micros oft Visual Studio .NET 2003\Vc7" In fact, I get the same result using any reasonable set of parameters on the command line. Doc PS This is getting so painful and with no end in sight I'm wondering whether anyone has a Windows VC 7.1 build of 1_33_1 that I could grab or they could send? Actually, I only want the debug multi-threaded date-time library.

On Sat, 25 Feb 2006 16:50:16 -0700, D. R. Evans wrote
Incidentally, I get the same result if I try:
C:\boost\boost_1_33_1>bjam "-sTOOLS=vc-7_1" "-sVC71_ROOT=C:\Program Files\Micros oft Visual Studio .NET 2003\Vc7"
In fact, I get the same result using any reasonable set of parameters on the command line.
Doc
PS This is getting so painful and with no end in sight I'm wondering whether anyone has a Windows VC 7.1 build of 1_33_1 that I could grab or they could send? Actually, I only want the debug multi-threaded date-time library.
Maybe you don't need the library at all -- in 1.33 and beyond most of the features of date-time are available as header only. I assume from your comment, you aren't using serialization and only the to/from_string code uses the library (you don't need these b/c you can use stringstream i/o to more flexibly perform the same tasks). On windows you might need to turn off the autolink stuff for this to work. Jeff

I've got one that was built with the Intel compiler, but I think they are binary compatible. Let me know if you would like for me to send you. - tim On Feb 25, 2006, at 6:50 PM, D. R. Evans wrote:
Incidentally, I get the same result if I try:
C:\boost\boost_1_33_1>bjam "-sTOOLS=vc-7_1" "-sVC71_ROOT=C:\Program Files\Micros oft Visual Studio .NET 2003\Vc7"
In fact, I get the same result using any reasonable set of parameters on the command line.
Doc
PS This is getting so painful and with no end in sight I'm wondering whether anyone has a Windows VC 7.1 build of 1_33_1 that I could grab or they could send? Actually, I only want the debug multi-threaded date-time library.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

At 16:50 2006-02-25, D. R. Evans wrote:
Incidentally, I get the same result if I try:
C:\boost\boost_1_33_1>bjam "-sTOOLS=vc-7_1" "-sVC71_ROOT=C:\Program Files\Micros oft Visual Studio .NET 2003\Vc7"
In fact, I get the same result using any reasonable set of parameters on the command line.
Doc
PS This is getting so painful and with no end in sight I'm wondering whether anyone has a Windows VC 7.1 build of 1_33_1 that I could grab or they could send? Actually, I only want the debug multi-threaded date-time library.
I built boost many times with vc7.1 while doing regression tests (still do) and I've still my 1.33_1 files. ftp://rudbek.com/pub/boost/ has all the date_time libraries. please let me know when you've downloaded what you need, I'm a little tight on disk space
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

Victor A. Wagner Jr. said the following at 02/25/2006 09:28 PM : \
I built boost many times with vc7.1 while doing regression tests (still do) and I've still my 1.33_1 files. ftp://rudbek.com/pub/boost/ has all the date_time libraries. please let me know when you've downloaded what you need, I'm a little tight on disk space
Thank you so much (and to the others who offered). I have grabbed these and am now all set. I will still try to figure out what I'm doing wrong, but at least now I can breathe and not get so frustrated about my inability to build them. Doc

Something could be wrong with the jamfiles or with the build of bjam you have. You can try building the bjam using build.bat located in tools/build/jam_src. Copy bjam.exe to boost root and issue
bjam install or bjam "-sVC71_ROOT={$Path_to_VC_7}" install or bjam "-sTOOLS=vc-7_1" "-sVC71_ROOT={$Path_to_VC_7}" install
If this does not work get a fresh copy of boost.
Parag
On 2/26/06, D. R. Evans
Victor A. Wagner Jr. said the following at 02/25/2006 09:28 PM : \
I built boost many times with vc7.1 while doing regression tests (still do) and I've still my 1.33_1 files. ftp://rudbek.com/pub/boost/ has all the date_time libraries. please let me know when you've downloaded what you need, I'm a little tight on disk space
Thank you so much (and to the others who offered). I have grabbed these and am now all set.
I will still try to figure out what I'm doing wrong, but at least now I can breathe and not get so frustrated about my inability to build them.
Doc
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

One thing that you might want to look into if you are on NT/2000/XP derivative is the way your environmental variables are set up. Open up Preferences from My Computer, go to Advanced, and then Environment Variables. Make sure you do not have anything in your user environment settings that might be masking system environment settings. If you have any LIB or INCLUDEs in your user environment variable, it can really mess you up in my experience. Merging those into the system variables and deleting them from user has helped fix some strange problems compiling for us. On Feb 27, 2006, at 7:34 PM, Parag Gadkari wrote:
Something could be wrong with the jamfiles or with the build of bjam you have.
You can try building the bjam using build.bat located in tools/ build/jam_src. Copy bjam.exe to boost root and issue
bjam install or bjam "-sVC71_ROOT={$Path_to_VC_7}" install or bjam "-sTOOLS=vc-7_1" "-sVC71_ROOT={$Path_to_VC_7}" install
If this does not work get a fresh copy of boost.
Parag
I built boost many times with vc7.1 while doing regression tests (still do) and I've still my 1.33_1 files. ftp://rudbek.com/pub/boost/ has all the date_time libraries. please let me know when you've downloaded what you need, I'm a
On 2/26/06, D. R. Evans
wrote: Victor A. Wagner Jr. said the following at 02/25/2006 09:28 PM : \ little tight on disk space
Thank you so much (and to the others who offered). I have grabbed these and am now all set.
I will still try to figure out what I'm doing wrong, but at least now I can breathe and not get so frustrated about my inability to build them.
Doc
_______________________________________________ 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

Once I had problems building boost with vc-7_1 due to PATH environment variable "overflow". After vcvars32.bat added up to the PATH some directories in the beginning was truncated and lots of errors took place. I guess that checking of environment the bjam works in may help.
One thing that you might want to look into if you are on NT/2000/XP derivative is the way your environmental variables are set up. Open up Preferences from My Computer, go to Advanced, and then Environment Variables. Make sure you do not have anything in your user environment settings that might be masking system environment settings. If you have any LIB or INCLUDEs in your user environment variable, it can really mess you up in my experience. Merging those into the system variables and deleting them from user has helped fix some strange problems compiling for us.
<skip>

D. R. Evans wrote:
Incidentally, I get the same result if I try:
C:\boost\boost_1_33_1>bjam "-sTOOLS=vc-7_1" "-sVC71_ROOT=C:\Program Files\Micros oft Visual Studio .NET 2003\Vc7"
In fact, I get the same result using any reasonable set of parameters on the command line.
Doc
PS This is getting so painful and with no end in sight I'm wondering whether anyone has a Windows VC 7.1 build of 1_33_1 that I could grab or they could send? Actually, I only want the debug multi-threaded date-time library.
I can assure you that boost 1_33_1 has been succesfully installed using MS vc7.1. I've done it on several PC's here. My first guess would be somehow your download was corrupted. I'd first try re-downloading boost from the website. The one difference is that I copy bjam.exe to my boost_1_33_1 directory and issue: bjam "-sTOOLS=vc-7_1" stage at the command prompt. Other possible causes that I could conceive: 1) wrong bjam.exe 2) corrupt disk 3) bad install of vc7.1 If you still need the dll/lib I can send it to your email address. Jeff Flinn
participants (9)
-
Calderon Hector
-
D. R. Evans
-
Jeff Flinn
-
Jeff Garland
-
Parag Gadkari
-
Rob Lemley
-
Serge Skorokhodov
-
Timothy Ritchey
-
Victor A. Wagner Jr.