[Boost-bugs] [Boost C++ Libraries] #4402: Compiling in native Windows, with MSVC8 (2005) Express

Subject: [Boost-bugs] [Boost C++ Libraries] #4402: Compiling in native Windows, with MSVC8 (2005) Express
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-04 14:59:03


#4402: Compiling in native Windows, with MSVC8 (2005) Express
-------------------------------------------------+--------------------------
 Reporter: Geoff McLane <ubuntu@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
  Version: Boost Development Trunk | Severity: Problem
 Keywords: building bjam native windows |
-------------------------------------------------+--------------------------
 Not really a bug... Just some advice for others...

 It took me quite a few HOURS to track down a strange
 batch file abort, with a long message something like :-

 \Utilities\Bin\x86";C:\WINDOWS\system32;C:\WINDOWS;
 C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;
 C:\Program Files\Common Files\Roxio Shared\DLLShared\;
 ... etc ... ending with 'was unexpected at this time.'

 It turned out to be a SIMPLE problem, but not exactly sure why
 the batch file interpreter got tripped on a PATH ')', while in
 a batch bracketed (...) statement ...

 The problem was my environment PATH string contained
 brackets, ( ), for the DirectX SDK, like :-
 PATH=C:\Perl\site\bin;C:\Perl\bin;
 "C:\Program Files\Microsoft DirectX SDK (October 2006)\Utilities\Bin\x86";
 C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
 ...

 Once I renamed this DirectX SDK directory to _NOT_ have brackets,
 and adjusted the Control Panel -> [Environment Variables]..., and
 MSVC8 Options... -> VC++ Directories, the 'bjam' batch build system
 worked like a charm with MSVC8... Thanks...

 Maybe a note like - make sure your PATH does _NOT_ contain
 brackets! () - could be added in the 'bootstrap.bat', or the
 'tools\jam\src\build.bat', for others who run across this problem.

 Or be added to the documentation somewhere concerning bjam
 building in windows... I searched, but could not find anything
 similar...

 Hope this helps, and thanks for a great set of headers, and now
 static libraries ;=))

 Regards,

 Geoff.

 Some Ref. Info.
 OS: Windows XP SP3 32-bits Box: Dell Dimension DXP061
 CPU: Intel Core2 6400 @ 2.13GHz
 MSVC: Visual Studio 2005 (MSVC8), .NET 2.0.50727
 SVN: Boost trunk, updated to 2010-07-02
 Boost.Build V2 (Milestone 12)
 Boost.Jam 03.1.19
 Boost_Version 104400, LIB_VERSION "1_44"

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4402>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC