[Boost-bugs] [Boost C++ Libraries] #13498: Error compiling boost with Intel Compiler 2018 / Visual Studio 2015 on Windows

Subject: [Boost-bugs] [Boost C++ Libraries] #13498: Error compiling boost with Intel Compiler 2018 / Visual Studio 2015 on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-28 19:13:53


#13498: Error compiling boost with Intel Compiler 2018 / Visual Studio 2015 on
Windows
-------------------------------------------------+-------------------------
 Reporter: Mario Emmenlauer <mario@…> | Owner: (none)
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building
                                                 | Boost
  Version: Boost 1.65.0 | Severity: Problem
 Keywords: icl, Intel, Compiler, Windows, |
  build |
-------------------------------------------------+-------------------------
 Im using the Intel Compiler 2018 from Parallel Studio XE 2018 Update 2
 Composer Edition together with Visual Studio Community Edition 2015 Update
 3 to build boost 1.65.1. I start the boost build from the Intel Compiler
 console. My build settings are:

 {{{
 bootstrap.bat \
     --with-icu="D:/Debug/Shared" \
     --with-
 libraries=atomic,date_time,exception,filesystem,graph,program_options,regex,test,thread
 --with-toolset="intel" && \
 b2 \
     --prefix="D:/Debug/Shared" \
     --layout="system" \
     --debug-configuration \
     -q \
     --with-atomic --with-date_time --with-exception --with-filesystem
 --with-graph --with-program_options --with-regex --with-test --with-thread
 address-model=64 toolset="intel-18.0-vc14" \
     link=shared \
     runtime-link=shared \
     pch=off \
     architecture="x86" \
     host-os="windows" \
     target-os="windows" \
     variant=debug \
     threading=multi \
     threadapi=win32 \
     include="D:/Debug/Shared/include" \
     cflags="/FS /DDEBUG /DWINVER=_WIN32_WINNT_WIN7
 /D_WIN32_WINNT=_WIN32_WINNT_WIN7 /Qwd1744 /MDd /Zi /arch:SSE4.2" \
     cxxflags="/DDEBUG /DWINVER=_WIN32_WINNT_WIN7
 /D_WIN32_WINNT=_WIN32_WINNT_WIN7 /Qwd1744 /std:c++11 /MDd /Zi
 /arch:SSE4.2" \
     linkflags="/MACHINE:X64 /DEBUG /LIBPATH:D:/Debug/Shared/lib" \
     -sHAVE_ICU=1 \
     -sICU_PATH="D:/Debug/Shared" \
     -sICU_LINK="-LD:/Debug/Shared\\lib -licuuc -licuin -licudt" \
     -sNO_BZIP2 \
     -sNO_ZLIB \
     -sNO_LZMA \
     -j4 install
 }}}

 The build fails early on with errors that the compiler 'icl' is not found:
 {{{
 [...]
 common.mkdir bin.v2\libs\system\build\intel-vc14-win-18.0\debug\address-
 model-64\architecture-x86\pch-off\threading-multi
 compile-c-c++ bin.v2\libs\atomic\build\intel-vc14-win-18.0\debug\address-
 model-64\architecture-x86\pch-off\threading-multi\lockpool.obj
 'icl' is not recognized as an internal or external command,
 operable program or batch file.

     call "C:\Users\bdaci01\AppData\Local\Temp\b2_intel-
 win_18.0_iclvars_intel64 vs2015.cmd" > nul
     icl @"bin.v2\libs\atomic\build\intel-vc14-win-18.0\debug\address-
 model-64\architecture-x86\pch-off\threading-multi\lockpool.obj.rsp"

 ...failed compile-c-c++ bin.v2\libs\atomic\build\intel-vc14-win-18.0\debug
 \address-model-64\architecture-x86\pch-off\threading-multi\lockpool.obj...
 ...skipped <pbin.v2\libs\atomic\build\intel-vc14-win-18.0\debug\address-
 model-64\architecture-x86\pch-off\threading-multi>boost_atomic.dll for
 lack of <pbin.v2\libs\atomic\build\intel-vc14-win-18.0\debug\address-
 model-64\architecture-x86\pch-off\threading-multi>lockpool.obj...
 ...skipped <pD:\Debug\Shared\lib>boost_atomic.dll for lack of
 <pbin.v2\libs\atomic\build\intel-vc14-win-18.0\debug\address-
 model-64\architecture-x86\pch-off\threading-multi>boost_atomic.dll...
 compile-c-c++ bin.v2\libs\date_time\build\intel-vc14-win-18.0\debug
 \address-model-64\architecture-x86\pch-off\threading-
 multi\gregorian\greg_month.obj
 'icl' is not recognized as an internal or external command,
 operable program or batch file.
 }}}

 I can build other packages fine, and I can call 'icl' from the same shell
 where boost complains that 'icl' is not recognized as an internal or
 external command, operable program or batch file.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13498>
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 : 2018-03-28 19:26:03 UTC