Boost logo

Boost-Build :

From: Craig Ugoretz (craigugoretz_at_[hidden])
Date: 2007-02-02 17:19:02


Hello,

     I was able to get "a fair chunk" of boost to compile, but it failed on
recognizing wtypes.h. I understand this has to do with the Microsoft
Platform SDK. I had VS80COMNTOOLS and VS80_ROOT set OK, I thought, so I
tweaked vsvars32.bat to try to get it to find the Platform SDK. It looked
liked this and produced the following result:

@SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8
@SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC
@SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
@SET FrameworkVersion=v2.0.50727
@SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK
@if "%VSINSTALLDIR%"=="" goto error_no_VSINSTALLDIR
@if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR

@echo Setting environment for using Microsoft Visual Studio 2005 x86 tools.

@rem
@rem Root of Visual Studio IDE installed files.
@rem
@set DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE

@set PATH=C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\Bin;C:\Program Files\Microsoft Visual Studio
8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\BIN;C:\Program
Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft
Visual Studio
8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft Visual Studio 8\VC\VCPackages;%PATH%
@set INCLUDE=C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\Include;C:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE;%INCLUDE%
@set LIB=C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\Lib;C:\Program Files\Microsoft Visual Studio
8\VC\LIB;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;%LIB%
@set LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

@goto end

:error_no_VSINSTALLDIR
@echo ERROR: VSINSTALLDIR variable is not set.
@goto end

:error_no_VCINSTALLDIR
@echo ERROR: VCINSTALLDIR variable is not set.
@goto end

:end

C:\Documents and Settings\Compaq_Owner\Desktop\boost_1_33_1>bjam
--without-pytho
n -sTOOLS=vc-8_0 install
******************************************************
Building Boost.Iostreams with bzip2 support disabled.
To enable bzip2, consult the Boost.Iostreams documentation
******************************************************
******************************************************
Building Boost.Iostreams with zlib and gzip support disabled.
To enable zlib and gzip, consult the Boost.Iostreams documentation
******************************************************
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
...found 12444 targets...
...updating 392 targets...
FileClone C:\Boost\lib\boost_date_time-vc80-mt-gd-1_33_1.lib
FileClone C:\Boost\lib\boost_date_time-vc80-mt-1_33_1.lib
vc-C++
bin\boost\libs\filesystem\build\libboost_filesystem.lib\vc-8_0\debug\runt
ime-link-static\threading-multi\exception.obj
'"vsvars32.bat"' is not recognized as an internal or external command,
operable program or batch file.

QUESTION: How do I "retweak" vsvars32.bat, assuming that I did not change
anything else by accident, such that the error messages do not present?

On 2/1/07, Craig Ugoretz <craigugoretz_at_[hidden]> wrote:
>
> Hello,
>
> Thank you for the correction, again. I appreciate it - I should know
> to always paste and compare. The following is what I get now:
>
> C:\Documents and Settings\Compaq_Owner\Desktop\boost_1_33_1>bjam
> --without-pytho
> n -sTOOLS=vc-8_0 install
> ******************************************************
> Building Boost.Iostreams with bzip2 support disabled.
> To enable bzip2, consult the Boost.Iostreams documentation
> ******************************************************
> ******************************************************
> Building Boost.Iostreams with zlib and gzip support disabled.
> To enable zlib and gzip, consult the Boost.Iostreams documentation
> ******************************************************
> Building Boost.Regex with the optional Unicode/ICU support disabled.
> Please refer to the Boost.Regex documentation for more information
> (and if you don't know what ICU is then you probably don't need it).
> ...found 12444 targets...
> ...updating 1208 targets...
> MkDir1 bin\boost\libs\date_time\build\boost_date_time.dll\vc-8_0
> spawn: No such file or directory
>
> C:\Documents and Settings\Compaq_Owner\Desktop\boost_1_33_1>pause
> Press any key to continue . . .
>
>
> On 2/1/07, Rene Rivera <grafikrobot_at_[hidden]> wrote:
> >
> > Craig Ugoretz wrote:
> > > Hello,
> > >
> > > Thank you for correcting me on the web address. In the case of
> > the
> > > bjam instruction, I had put the quotation mark in the wrong spot. I
> > > corrected that, but the result is:
> > >
> > > C:\Documents and Settings\Compaq_Owner\Desktop\boost_1_33_1>bjam
> > > --without-pytho
> > > n "-sTOOLS=vc80" install
> > > vc80-tools.jam: No such file or directory
> >
> > You missed the error I pointed out. Look at the command I posted
> > carefully, and compare it with the one you used.
> >
> >
> > --
> > -- 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
> > _______________________________________________
> > Unsubscribe & other changes:
> > http://lists.boost.org/mailman/listinfo.cgi/boost-build
> >
>
>



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