Boost logo

Boost Users :

Subject: Re: [Boost-users] Build Boost 1.50 on Windows XP for MSVS2008
From: Boost lzw (boostlzw_at_[hidden])
Date: 2012-07-18 20:50:25


Thanks, Igor.

I finally fixed it. The issue is mentioned in the following link:
http://www.blinnov.com/2010/06/04/microsoft-was-unexpected-at-this-time/en/

In my case, the offender is that the value of my "System Variable->%PATH%"
was set to:
"C:\Program Files\Microsoft DirectX SDK (October 2006)\Utilities\Bin\x86";
(other paths omitted)

I remove its openning and closing quotes, like so:
 C:\Program Files\Microsoft DirectX SDK (October 2006)\Utilities\Bin\x86;
(other paths omitted)

To share my experience, here is how I sucessfully build everything in boost
1_50_0 on Windows XP for MSVC2008:
(0) download "boost_1_50_0.zip" from
http://sourceforge.net/projects/boost/files/boost/1.50.0/
and unzip it to (your preferred directory, in my case):
C:\boost_1_50_0

(1) Launch Visual Studio 2008 Prompt Console Windows from:
Start->All Programs->Microsoft Visual Studio 2008->Visual Studio
Tools->Visual Studion Command Prompt

(2) cd C:\boost_1_50_0

(3) bootstrap.bat
This automatically generated b2.exe under C:\boost_1_50_0 directory

(4) .\b2

I got the following, NICE reminding prompts at its end [of step (4) ]:
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
    C:/boost_1_50_0
The following directory should be added to linker library paths:
    C:\boost_1_50_0\stage\lib

The building process is suprisingly simple and user-friendly.

Thanks a lot for Boost library developers.

Robert

On Wed, Jul 18, 2012 at 5:37 PM, Igor R <boost.lists_at_[hidden]> wrote:

> > I resolved the issue and tried everthing suggested.
> >
> > Here is the complete ouput error I got after runing bootstrap.bat or
> > \v2\engine\build.bat:
> > C:\boost_1_50_0\tools\build\v2\engine>build.bat
> >
> \Utilities\Bin\x86";c:\python23\.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\syst
> > em32\wbem;c:\program files\ati technologies\ati.ace\;c:\program
> > files\microsoft
> > sql server\80\tools\binn\;c:\program files\cvsnt;c:\Program
> Files\Microsoft
> > SQL
> > Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin;C:\Program
> > Files\MySQL\My
> > SQL Server 5.0\bin;C:\Program Files\Microsoft Visual Studio
> > 9.0\VC\bin;C:\WINDOW
> > S\Microsoft.NET\Framework\v3.5\;C:\Program Files\Microsoft Visual Studio
> > 2008 SD
> > K\VisualStudioIntegration\Tools\Sandcastle\ProductionTools\" was
> unexpected
> > at this time.
> >
> > Any idea?
>
>
> It seems that you fixed it incorrectly.
> Ensure that PATH variable is correct.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net