Opened 5 years ago

Last modified 5 years ago

#13498 new Bugs

Error compiling boost with Intel Compiler 2018 / Visual Studio 2015 on Windows

Reported by: Mario Emmenlauer <mario@…> Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.65.0 Severity: Problem
Keywords: icl, Intel, Compiler, Windows, build Cc:

Description

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.

Change History (1)

comment:1 by Mario Emmenlauer <mario@…>, 5 years ago

Is the Intel Compiler still supported by boost? Where should I report his issue?

Note: See TracTickets for help on using tickets.