[Insight-developers] Intel C++ compilation error
Julien Jomier
jjomier at cs . unc . edu
Mon, 18 Aug 2003 16:38:44 -0400
Hi Raul,
I think you have to set the environment variables CC=icc and CXX=icc before
running CMake so VNL can configure itself properly.
Julien
> -----Original Message-----
> From: insight-developers-admin at itk . org
> [mailto:insight-developers-admin at itk . org] On Behalf Of Raul
> San Jose Estepar
> Sent: Monday, August 18, 2003 4:25 PM
> To: Insight Developers
> Subject: [Insight-developers] Intel C++ compilation error
>
>
>
> Hi everybody,
>
> I'm trying to compile the toolkit with icc (evaluation
> version), I got errors of the kind:
>
> Building object file vnl_math.o...
> /home/raul/src/dev/Insight/Utilities/vxl/vnl/vnl_math.h(55):
> error: data member initializer is not allowed
> static VNL_DLL_DATA const double e
> VCL_STATIC_CONST_INIT_FLOAT_DECL(2.7182818284590452354);
> ^
>
> /home/raul/src/dev/Insight/Utilities/vxl/vnl/vnl_math.h(56):
> error: data member initializer is not allowed
> static VNL_DLL_DATA const double log2e
> VCL_STATIC_CONST_INIT_FLOAT_DECL(1.4426950408889634074);
> ^
>
> /home/raul/src/dev/Insight/Utilities/vxl/vnl/vnl_math.h(57):
> error: data member initializer is not allowed
> static VNL_DLL_DATA const double log10e
> VCL_STATIC_CONST_INIT_FLOAT_DECL(0.43429448190325182765);
>
>
> Am I missing something??.
>
> Thanks
>
> /Raul
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk . org
> http://www . itk . org/mailman/listinfo/insight-> developers
>