Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Problems with building Boost on Windows with Intel C++ Compiler

$
0
0

Hello,

I am trying to build Boost 1.55 on Windows with the instructions I found here:

https://software.intel.com/en-us/articles/building-boost-with-intel-c-composer-xe-2013-on-windows-7

So after I do the bootstrap from the Intel cmd prompt, I do:

D:\vs2013 projects\boost_1_55_0>bjam toolset=intel address-model=32

I get a ton of errors like this:

-------------------------------------------------------------------------------------------------------------

call "C:\Program Files (x86)\Intel\composer xe 2013 sp1\bin\intel64//iclvars

.bat"> nul

icl @"bin.v2\libs\chrono\build\intel-win\debug\address-model-32\link-static\thre

ading-multi\thread_clock.obj.rsp"

...failed compile-c-c++ bin.v2\libs\chrono\build\intel-win\debug\address-model-3

2\link-static\threading-multi\thread_clock.obj...

compile-c-c++ bin.v2\libs\chrono\build\intel-win\debug\address-model-32\link-sta

tic\threading-multi\process_cpu_clocks.obj

'"C:\Program Files (x86)\Intel\composer xe 2013 sp1\bin\intel64//iclvars.bat"' i

s not recognized as an internal or external command,

operable program or batch file.

process_cpu_clocks.cpp

Command-line error: invalid Microsoft version number: 89

compilation aborted for libs\chrono\src\process_cpu_clocks.cpp (code 4)

-------------------------------------------------------------------------------------------------------------

I noticed that the iclvars.bat is not in the directory "C:\Program Files (x86)\Intel\composer xe 2013 sp1\bin\intel64" as it is in one directory back at "C:\Program Files (x86)\Intel\composer xe 2013 sp1\bin", so I made a copy of it and put it in the intel64 directory and ran again. I still get errors:

-------------------------------------------------------------------------------------------------------------

compile-c-c++ bin.v2\libs\atomic\build\intel-win\debug\address-model-32\link-sta

tic\threading-multi\lockpool.obj

lockpool.cpp

Command-line error: invalid Microsoft version number: 89

compilation aborted for libs\atomic\src\lockpool.cpp (code 4)

    call "C:\Program Files (x86)\Intel\composer xe 2013 sp1\bin\intel64//iclvars

.bat"> nul

icl @"bin.v2\libs\atomic\build\intel-win\debug\address-model-32\link-static\thre

ading-multi\lockpool.obj.rsp"

...failed compile-c-c++ bin.v2\libs\atomic\build\intel-win\debug\address-model-3

2\link-static\threading-multi\lockpool.obj...

...skipped <pbin.v2\libs\atomic\build\intel-win\debug\address-model-32\link-stat

ic\threading-multi>libboost_atomic-iw-mt-gd-1_55.lib for lack of <pbin.v2\libs\a

tomic\build\intel-win\debug\address-model-32\link-static\threading-multi>lockpoo

l.obj...

...skipped <pstage\lib>libboost_atomic-iw-mt-gd-1_55.lib for lack of <pbin.v2\li

bs\atomic\build\intel-win\debug\address-model-32\link-static\threading-multi>lib

boost_atomic-iw-mt-gd-1_55.lib...

compile-c-c++ bin.v2\libs\system\build\intel-win\debug\address-model-32\link-sta

tic\threading-multi\error_code.obj

error_code.cpp

Command-line error: invalid Microsoft version number: 89

compilation aborted for libs\system\src\error_code.cpp (code 4)

----------------------------------------------------------------------------------------------------------------

Anyone know what the invalid Microsoft version number means? Anyone know what I am doing wrong?

Thanks!

Chris

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>