Opened 12 years ago

#4896 new Bugs

Bjam doesn't build correctly with Intel compiler when both vc8 and vc9 are installed on the same machine.

Reported by: Matt <MBond@…> Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.45.0 Severity: Problem
Keywords: intel, vc8, vc9, microsoft Cc:

Description

Setup

With the following machine setup:

  • Windows 7
  • Intel Pro C++ compiler for windows 11.1.067
  • Visual studio 2005 and Visual studio 2008

Command

"C:\Program Files (x86)\Intel\Compiler\11.1\067\bin\iclvars.bat" intel64 vs2005

bjam --toolset="intel-11.1.067" "-sINTEL_PATH= C:\Program Files (x86)\Intel\Compiler\11.1\067\bin\intel64" "-sINTEL_BASE_MSVC_TOOLSET=vc8" "-sINTEL_VERSION=11" --build-type=complete

Problem

This builds and creates dlls. However, upon inspection with dependency walker, the dlls are linking with vc9 rather than vc8.

Workaround

Renaming the visual studio 2008 directory to something different, and rebuilding boost. The dlls then correctly link with visual studio 2005.

Change History (0)

Note: See TracTickets for help on using tickets.