|
Boost Users : |
Subject: Re: [Boost-users] Compiling Boost 1.55.0 with Intel 14.0.1 andlibstdc++ from GCC 4.8.1
From: Edward Diener (eldiener_at_[hidden])
Date: 2013-11-18 22:51:46
On 11/18/2013 4:12 PM, Maxime Boissonneault wrote:
> Hi,
> It seems that icpc on our system is not searching /usr/include, and does
> not find the legacy "fenv.h" which is included in fenv.h in glibc++.
>
> By adding /usr/include at the end of our CPATH, it now compiles.
Did you setup icpc correctly in your shell's startup file(s). There are
instructions of how to do this after you install Intel C++.
>
> Best regards,
>
> Maxime
>
> Le 2013-11-13 13:55, John Maddock a écrit :
>> This :
>>
>> #####Without CPLUS_INCLUDE_PATH
>> [mboisson_at_r103-n2 tmp]$ icpc test_fenv.cpp -c -o a.o
>> [mboisson_at_r103-n2 tmp]$ env | grep CPLUS
>> #####With CPLUS_INCLUDE_PATH pointing to the gnu std libc++
>> [mboisson_at_r103-n2 tmp]$ export
>> CPLUS_INCLUDE_PATH=/software6/compilers/gcc/4.8.1/include/c++/4.8.1/
>> [mboisson_at_r103-n2 tmp]$ icpc test_fenv.cpp -c -o a.o
>> test_fenv.cpp(3): error: identifier "fexcept_t" is undefined
>> fexcept_t data;
>> ^
>>
>> Looks like Intel isn't compatible with that version of libstdc++ then?
>>
>> John.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net