[Insight-users] Compilation Errors with make(Borland)

John Biddiscombe john . biddiscombe at mirada-solutions . com
Fri, 1 Aug 2003 10:36:28 +0100


Borland 5.6 isn't supported, use 5.5 from Borland's free command line =
tools download , or use Builder 5 instead of 6.

JB

> -----Original Message-----
> From: Sergio Andr=E9s [mailto:seanru_nigu at yahoo . es]
> Sent: 01 August 2003 10:31
> To: insight-users at itk . org
> Subject: [Insight-users] Compilation Errors with make(Borland)
>=20
>=20
> Hello all,
>=20
> I have tried to compile the ITK lib. and I have used
> the CMake utility for generating a 'makefile' for
> Borland.
> Then I tried to execute 'make' to get the ITK .lib
> files
> but I have some compilation errors. For instance:
>=20
> Building object file metaUtils.obj...
> Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002
> Borland
> D:\sandres\SourceCode\ITK_Toolkit_Source\InsightToolkit-1.2.0\
> Utilities\MetaIO\metaUtils.cxx:
> Error E2268
> D:\sandres\SourceCode\ITK_Toolkit_Source\InsightToolkit-1.2.0\
> Utilities\MetaIO\metaUtils.cxx
> 176: Call to undefined function 'atof' in function
> MET_ValueToDouble(MET_ValueEnumType,const void
> *,int,double *)
> *** 1 errors in Compile ***
>=20
> As you can see, the function 'atof' is not found.=20
> I had a look into this file and I added a new line:
>=20
> #include <stdlib.h>
>=20
> I tried again and I get a new error: The function
> 'pow' is not found either.
>=20
> I suppose that this is not the way to solve this
> errors, that they are related to a math. lib or
> similar.
>=20
> Can somebody help me with this??
>=20
> Thanks in advance!!
>=20
>=20
>=20
> ___________________________________________________
> Yahoo! Messenger - Nueva versi=F3n GRATIS
> Super Webcam, voz, caritas animadas, y m=E1s...
> http://messenger . yahoo . es
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk . org
> http://www . itk . org/mailman/listinfo/insight-users
>=20