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?
Robert
On Wed, Jul 18, 2012 at 4:32 PM, Boost lzw
I am having issue running vcvars32.bat. I got the same error when running it.
This is a known issue: http://www.blinnov.com/2010/06/04/microsoft-was-unexpected-at-this-time/en/
I will fix it first and come back with a report.
Thanks, Robert
On Wed, Jul 18, 2012 at 4:12 PM, Lars Viklund
wrote: On Wed, Jul 18, 2012 at 03:37:58PM -0400, Boost lzw wrote:
Yes.
(1) Start->All Programs->Microsoft Visual Studio 2008->Visual Studio Tools->Visual Studion Command Prompt
C:\Program Files\Microsoft Visul Studio 9.0\VC>
(2) C:\Program Files\Microsoft Visul Studio 9.0\VC>cd C:\Program Files\boost_1_50_0
(3) C:\Program Files\boost_1_50_0>bootstrap.bat
then I got: Building Boost.Build engine "......... (my build environment info)" was unexpected at this time.
Make sure that you have permission to work in Program Files. Consider trying to build somewhere more accessible, preferably somewhere without spaces, in case that's the reason.
The output there looks strange, as I am not aware of any branding of VS where it's called 'Visul'.
You do not need a VS command prompt to build Boost.Build or Boost itself, it can automatically find and use the MSVC you have.
You could try going into tools\build\v2\engine and run build.bat from there. If that succeeds, copy the resulting bin.ntx86\b2.exe into the boost_1_50_0 directory and continue from there.
-- Lars Viklund | zao@acc.umu.se _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users