[Insight-developers] compile error ITK1.0.0 / VC++

Luis Ibanez luis.ibanez@kitware.com
Wed, 06 Nov 2002 13:56:43 -0500


Hi Lydia,

VC++6 RelWithDebInfo is working ok for me,
both in the 1.0 release and today's cvs
version.

Are you trying the .zip version from the
web site or the one from the CDs' ?

Do you find the same compiling error with the
cvs version ?


    Luis

======================================

Lydia Ng wrote:
> Hi,
> 
> I am getting the following compile error just for RelWithDebInfo build-
> wonder if anyone else has encounter the same problem.
> 
> ITK version 1.0.0 extracted from zip file
> VC++ 6.0 with sp 5
> RelWithDebInfo build
> 
> BTW - it builds okay for Release,Debug and MinSizeRel.
> 
> - Lydia
> 
> 
> --------------------Configuration: ITKNumerics - Win32 RelWithDebInfo-----------
> ---------
> Performing Custom Build Step on E:\Users\lng\Insight\Insight\Code\Numerics\CMakeLists.txt
> Compiling...
> itkAmoebaOptimizer.cxx
> itkCacheableScalarFunction.cxx
> itkCompositeValleyFunction.cxx
> itkConjugateGradientOptimizer.cxx
> itkCostFunction.cxx
> itkGradientDescentOptimizer.cxx
> itkLBFGSOptimizer.cxx
> itkLevenbergMarquardtOptimizer.cxx
> itkMultipleValuedNonLinearOptimizer.cxx
> itkMultipleValuedNonLinearVnlOptimizer.cxx
> itkMultipleValuedVnlCostFunctionAdaptor.cxx
> itkMultivariateLegendrePolynomial.cxx
> itkOnePlusOneEvolutionaryOptimizer.cxx
> itkOptimizer.cxx
> itkQuaternionRigidTransformGradientDescentOptimizer.cxx
> itkRegularStepGradientDescentBaseOptimizer.cxx
> itkRegularStepGradientDescentOptimizer.cxx
> itkSingleValuedNonLinearOptimizer.cxx
> itkSingleValuedNonLinearVnlOptimizer.cxx
> itkSingleValuedVnlCostFunctionAdaptor.cxx
> Generating Code...
> Compiling...
> itkVersorTransformOptimizer.cxx
> E:\Users\lng\Insight\Insight\Code\Numerics\vxl\vcl\win32/vcl_cstdlib.h(118) : error C2169: 'abs' : intrinsic function, cannot
>  be defined
> Generating Code...
> Error executing cl.exe.
> 
> ALL_BUILD - 1 error(s), 0 warning(s)
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
> 
>