[Insight-users] Problem compiling ITK with ICC v 9.0.016
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Apr 18 09:46:24 EDT 2005
Arun,
What is your linux distribution ? It looks like you did not install icc
properly or you changed some settings during/after cmake first ran. Can
you compile something like:
//--------------- bar.cxx--------------
#include <string>
int main()
{
std::string foo;
return 0;
}
//--------------- end of bar.cxx--------------
$ icpc bar.cxx
Thanks
Mathieu
Arun Kulshreshtha wrote:
> hi,
>
> I am trying to compile the ITK with ICC compiler but i
> am getting
> many errors. Can anybody help me ? I configured cmake
> to use icc
> in place of gcc and icpc in place of c++. I am using
> ICC v9.0.016.
>
> Here are the errors
>
> icpc -o metaGaussian.o -i_dynamic -O3 -ipo -tpp2
> -mcpu itanium2 -I/usr/people/arunk/ITK/icc9
> -I/usr/people/arunk/ITK-Source/Code/Algorithms
> -I/usr/people/arunk/ITK-Source/Code/BasicFilters
> -I/usr/people/arunk/ITK-Source/Code/Common
> -I/usr/people/arunk/ITK-Source/Code/Numerics
> -I/usr/people/arunk/ITK-Source/Code/IO
> -I/usr/people/arunk/ITK-Source/Code/Numerics/FEM
> -I/usr/people/arunk/ITK-Source/Code/Numerics/Statistics
> -I/usr/people/arunk/ITK-Source/Code/SpatialObject
> -I/usr/people/arunk/ITK-Source/Utilities/MetaIO
> -I/usr/people/arunk/ITK-Source/Utilities/NrrdIO
> -I/usr/people/arunk/ITK-Source/Utilities/DICOMParser
> -I/usr/people/arunk/ITK/icc9/Utilities/DICOMParser
> -I/usr/people/arunk/ITK/icc9/Utilities/expat
> -I/usr/people/arunk/ITK-Source/Utilities/expat
> -I/usr/people/arunk/ITK/icc9/Utilities
> -I/usr/people/arunk/ITK-Source/Utilities
> -I/usr/people/arunk/ITK-Source/Utilities/vxl/vcl
> -I/usr/people/arunk/ITK-Source/Utilities/vxl/core
> -I/usr/people/arunk/ITK/icc9/Utilities/vxl/vcl
> -I/usr/people/arunk/ITK/icc9/Utilities/vxl/core
> -I/usr/people/arunk/ITK-Source/Utilities/vxl/v3p/netlib
> -I/usr/people/arunk/ITK-Source/Utilities/zlib
> -I/usr/people/arunk/ITK/icc9/Utilities/zlib
> -I/usr/people/arunk/ITK-Source/Utilities/png
> -I/usr/people/arunk/ITK/icc9/Utilities/png
> -I/usr/people/arunk/ITK-Source/Utilities/jpeg
> -I/usr/people/arunk/ITK/icc9/Utilities/jpeg
> -I/usr/people/arunk/ITK-Source/Utilities/tiff
> -I/usr/people/arunk/ITK/icc9/Utilities/tiff -c
> /usr/people/arunk/ITK-Source/Utilities/MetaIO/metaGaussian.cxx
> /usr/include/c++/3.2.3/limits(1736): error: asm
> statements not supported in this environment
> { return __glibcpp_float_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1736): error: expected a
> ")"
> { return __glibcpp_float_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1736): error: asm
> statements not supported in this environment
> { return __glibcpp_float_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1736): error: expected a
> ")"
> { return __glibcpp_float_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1813): error: asm
> statements not supported in this environment
> { return __glibcpp_double_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1813): error: expected a
> ")"
> { return __glibcpp_double_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1736): error: asm
> statements not supported in this environment
> { return __glibcpp_float_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1813): error: asm
> statements not supported in this environment
> { return __glibcpp_double_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1736): error: expected a
> ")"
> { return __glibcpp_float_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1813): error: expected a
> ")"
> { return __glibcpp_double_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1736): error: asm
> statements not supported in this environment
> { return __glibcpp_float_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1736): error: expected a
> ")"
> { return __glibcpp_float_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1813): error: asm
> statements not supported in this environment
> { return __glibcpp_double_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1813): error: expected a
> ")"
> { return __glibcpp_double_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1813): error: asm
> statements not supported in this environment
> { return __glibcpp_double_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1813): error: expected a
> ")"
> { return __glibcpp_double_signaling_NaN; }
> ^
>
> /usr/include/c++/3.2.3/limits(1894): error: asm
> statements not supported in this environment
> { return __glibcpp_long_double_signaling_NaN;
> }
> ^
>
> /usr/include/c++/3.2.3/limits(1894): error: asm
> statements not supported in this environment
> { return __glibcpp_long_double_signaling_NaN;
> }
> ^
> /usr/include/c++/3.2.3/limits(1894): error: expected a
> ")"
> { return __glibcpp_long_double_signaling_NaN;
> }
> ^
>
>
> /usr/include/c++/3.2.3/limits(1894): error: expected a
> ")"
> { return __glibcpp_long_double_signaling_NaN;
> }
> ^
>
> /usr/include/c++/3.2.3/limits(1894): error: asm
> statements not supported in this environment
> { return __glibcpp_long_double_signaling_NaN;
> }
> ^
>
> /usr/include/c++/3.2.3/limits(1894): error: expected a
> ")"
> { return __glibcpp_long_double_signaling_NaN;
> }
> ^
>
> /usr/include/c++/3.2.3/limits(1894): error: asm
> statements not supported in this environment
> { return __glibcpp_long_double_signaling_NaN;
> }
> ^
>
> /usr/include/c++/3.2.3/limits(1894): error: expected a
> ")"
> { return __glibcpp_long_double_signaling_NaN;
> }
> ^
>
> compilation aborted for
> /usr/people/arunk/ITK-Source/Utilities/MetaIO/metaGaussian.cxx
> (code 2)
> make[5]: *** [metaGaussian.o] Error 2
> make[5]: *** Waiting for unfinished jobs....
> compilation aborted for
> /usr/people/arunk/ITK-Source/Utilities/MetaIO/metaBlob.cxx
> (code 2)
> make[5]: *** [metaBlob.o] Error 2
> compilation aborted for
> /usr/people/arunk/ITK-Source/Utilities/MetaIO/metaGroup.cxx
> (code 2)
> make[5]: *** [metaGroup.o] Error 2
> make[4]: *** [default_target] Error 2
> make[4]: Leaving directory
> `/usr/people/arunk/ITK/icc9/Utilities/MetaIO'
> make[3]: *** [default_target_MetaIO] Error 2
> make[3]: Leaving directory
> `/usr/people/arunk/ITK/icc9/Utilities'
> make[2]: *** [default_target] Error 2
> make[2]: Leaving directory
> `/usr/people/arunk/ITK/icc9/Utilities'
> make[1]: *** [default_target_Utilities] Error 2
> make[1]: Leaving directory
> `/usr/people/arunk/ITK/icc9'
> make: *** [default_target] Error 2
> compilation aborted for
> /usr/people/arunk/ITK-Source/Utilities/MetaIO/metaEllipse.cxx
> (code 2)
>
> Thanks
> Arun
>
>
>
> ================================================================================
> THE BEST THING YOU CAN DO TO YOUR FRIEND IS TO REMAIN HIS FRIEND FOREVER.......
> ================================================================================
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list