[Insight-users] Intel compiler

Paul Yushkevich pauly at cs . unc . edu
Wed, 11 Jun 2003 16:35:10 -0400


Hi

What are the settings that I should use in ccmake in order to get 
Insight compiled with the Intel Compiler (icc7)?

I set the CMAKE_CXX_COMPILER and CMAKE_C_COMPILER to icc but I get 
errors in vxl compilation:

/home/pauly/grant/itk/Insight/Utilities/vxl/vnl/vnl_math.cxx(80): error: 
const member "vnl_math::sqrt2" requires an initializer
   const double vnl_math::sqrt2 
VCL_STATIC_CONST_INIT_FLOAT_DEFN( 1.41421356237309504880 );

It seems that the vxl configure script that is being run by ccmake 
doesn't know that I'm using icc

Thanks

Paul