<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
sorry, forgot ITK mailing list<br>
<br>
-------- Original Message --------
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Subject: </th>
<td>Re: [Insight-users] #include <stdlib.h> missing</stdlib.h></td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Date: </th>
<td>Thu, 28 Jul 2005 01:46:11 +0200</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">From: </th>
<td>Luca Picello <a class="moz-txt-link-rfc2396E" href="mailto:luca.picello@libero.it"><luca.picello@libero.it></a></td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">To: </th>
<td>Julien Jomier <a class="moz-txt-link-rfc2396E" href="mailto:jjomier@cs.unc.edu"><jjomier@cs.unc.edu></a></td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">References: </th>
<td><a class="moz-txt-link-rfc2396E" href="mailto:42E81A3A.3030106@libero.it"><42E81A3A.3030106@libero.it></a>
<a class="moz-txt-link-rfc2396E" href="mailto:42E81B87.3080700@cs.unc.edu"><42E81B87.3080700@cs.unc.edu></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>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
>> <a class="moz-txt-link-abbreviated" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>
>> <a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
>
> .
>
</pre>
</body>
</html>