[Fwd: Re: [Insight-users] #include <stdlib.h> missing]

Luca Picello luca.picello at libero.it
Wed Jul 27 19:50:42 EDT 2005


sorry, forgot ITK mailing list

-------- Original Message --------
Subject: 	Re: [Insight-users] #include missing
Date: 	Thu, 28 Jul 2005 01:46:11 +0200
From: 	Luca Picello <luca.picello at libero.it>
To: 	Julien Jomier <jjomier at cs.unc.edu>
References: 	<42E81A3A.3030106 at libero.it> <42E81B87.3080700 at cs.unc.edu>



With #include <stdlib.h> the compilation process continues.
Till :

Z:\Insight\Utilities\gdcm\src\gdcmBase.cxx:
Error E2238 Z:\Insight\Utilities\gdcm\src\gdcmCommon.h 61: Multiple 
declaration
for 'int8_t'
Error E2344 C:\Program Files\Borland\CBuilder6\Include\stdint.h 20: 
Earlier decl
aration of 'int8_t'
*** 2 errors in Compile ***

gdcm should be updated with latest GDCM CVS where this bug is already fixed.

luca


Julien Jomier wrote:

> Hi Luca,
>
> Does adding #include <stdlib.h> get ride of the errors?
>
> Julien
>
> Luca Picello wrote:
>
>> It is my first time compiling ITK sources (it is from daily CVS) with 
>> Borland C++ Builder 6.
>> The compiler tells me:
>>
>> Z:\Insight\Utilities\MetaIO\metaCommand.cxx:
>> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 238: Call to 
>> undefined f
>> unction 'atof' in function 
>> MetaCommand::GetValueAsFloat(_STL::string,_STL::strin
>> g)
>> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 262: Call to 
>> undefined f
>> unction 'atof' in function 
>> MetaCommand::GetValueAsFloat(MetaCommand::Option,_STL
>> ::string)
>> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 288: Call to 
>> undefined f
>> unction 'atoi' in function 
>> MetaCommand::GetValueAsInt(_STL::string,_STL::string)
>>
>> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 312: Call to 
>> undefined f
>> unction 'atoi' in function 
>> MetaCommand::GetValueAsInt(MetaCommand::Option,_STL::
>> string)
>> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 527: Call to 
>> undefined f
>> unction 'atoi' in function MetaCommand::ParseXML(const char *)
>> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 535: Call to 
>> undefined f
>> unction 'atoi' in function MetaCommand::ParseXML(const char *)
>> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 547: Call to 
>> undefined f
>> unction 'atoi' in function MetaCommand::ParseXML(const char *)
>> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 555: Call to 
>> undefined f
>> unction 'atoi' in function MetaCommand::ParseXML(const char *)
>> Error E2268 Z:\Insight\Utilities\MetaIO\metaCommand.cxx 760: Call to 
>> undefined f
>> unction 'atof' in function MetaCommand::Parse(int,char * *)
>> *** 9 errors in Compile ***
>>
>> ** error 1 ** deleting metaCommand.obj
>>
>> in borlandc, atof() and atoi() are defined in <stdlib.h>
>>
>> Luca
>>
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
>
> .
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050728/a5d11b60/attachment.htm


More information about the Insight-users mailing list