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.

--Kirill

 --------------000309000609020603070004 Content-Type: text/plain;
name="build.bat.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="build.bat.diff"

--- 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%_" == "__" (
set BOOST_JAM_TOOLSET=msvc
set BOOST_JAM_TOOLSET_ROOT=%MSVCDir%\
 --------------000309000609020603070004--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk