[Insight-users] ITK compilation error with icc 9.0

Diego Persano persano at isi.it
Tue Nov 22 09:29:04 EST 2005


Hi all,

I'm trying to compile ITK 2.2.0 with the Intel compiler icc 9.0 but I get
the following error:

---

/usr/local/src/InsightToolkit-2.2.0/Utilities/vxl/vcl/vcl_cmath.h(64): 
error: expected
an expression
  #if !VCL_COMPLEX_POW_WORKS && !defined VCL_CMATH_POW_DECLARED
                             ^
compilation aborted for
/usr/local/src/InsightToolkit-2.2.0/Utilities/vxl/vcl/vcl_cmath.cxx (code 
2)
make[2]: *** [Utilities/vxl/vcl/CMakeFiles/itkvcl.dir/vcl_cmath.o] Error 2
make[1]: *** [Utilities/vxl/vcl/CMakeFiles/itkvcl.dir/all] Error 2
make: *** [all] Error 2

---

After looking at the insight-users archives, I tried with the -cxxlib-icc
and -no-gcc compiler options but it's still not working.

Any hint?

I'm using cmake version 2.2-patch 2 and my OS is Mandriva 2006 (Linux
version 2.6.12-12mdksmp).

Thank you very much for your time.

Diego



More information about the Insight-users mailing list