Boost logo

Boost-Build :

From: Kirill Lapshin (gclbb-jamboost_at_[hidden])
Date: 2003-07-08 22:02:24

This one is probably for Rene.

On my WinXP box I've got MSVC 7.1 installed in non-default location.
Just running build.bat yields "The system cannot find the batch label
specified - Error_Print", which is not intuitive at all.

I have no idea where this error comes from. However there is an easy way
to make build.bat work in case when MSVC 7.1 installed in non-default
location. The idea is to check VS71COMNTOOLS env variable which is set
by the installer. I don't know if the same trick works for MSVC 7.0, and
don't have 7.0 to check it out. Please find attached the patch to
build.bat. I simply called vsvars32.bat to set MSVCDir env variable.


 --------------000309000609020603070004 Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;

--- build.bat.orig 2003-06-07 14:44:32.000000000 -0400
+++ build.bat 2003-07-08 22:54:46.000000000 -0400
@@ -87,6 +87,7 @@
set BOOST_JAM_TOOLSET_ROOT=C:\Program Files\Microsoft Visual Studio .NET\VC7\
goto :eof)
setlocal & endlocal
+if NOT "_%VS71COMNTOOLS%_" == "__" call "%VS71COMNTOOLS%vsvars32.bat"
if NOT "_%MSVCDir%_" == "__" (

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at