[Insight-developers] [Fwd: [Fwd:
Re: [Insight-users] #include<stdlib.h> missing]]
Mathieu Malaterre
mathieu.malaterre at kitware.com
Thu Jul 28 13:45:11 EDT 2005
Luca,
Did you read:
http://www.itk.org/Wiki/ITK_FAQ#Borland_5.5_Compiler_Issues
HTH
Mathieu
Luca Picello wrote:
> Yes: I am wrong. Deleting cmake output directory and building itk from
> stratch with original gdcm folder (cvs gdcm is not compatible with some
> other itk module...) with BUILD_TESTING=OFF and BUILD_EXAMPLES=ON it
> compiles with BCB 5.5.
>
> Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
> Z:\Insight\Examples\Filtering\FilteringExamples5.cxx:
> Error E2293 Z:\Insight\Code\Numerics\Statistics\itkImageToListAdaptor.h
> 99: ) ex
> pected
> *** 1 errors in Compile ***
>
> ** error 1 ** deleting FilteringExamples5.obj
>
> sorry,
>
> Luca
>
>
> Luca Picello wrote:
>
>> Does it works with BCB5.5 ????
>> I have those errors:
>>
>> Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
>> Z:\Insight\Utilities\vxl\core\vnl\vnl_sparse_matrix_linear_system.cxx:
>> Error E2176 Z:\Insight.bin.debug\Utilities\vxl\core\vxl_config.h 67:
>> Too many ty
>> pes in declaration
>> Error E2176 Z:\Insight.bin.debug\Utilities\vxl\core\vxl_config.h 68:
>> Too many ty
>> pes in declaration
>> Error E2176 Z:\Insight.bin.debug\Utilities\vxl\core\vxl_config.h 69:
>> Too many ty
>> pes in declaration
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h 89:
>> Multiple
>> declaration for 'vnl_numeric_traits<bool>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h 70:
>> Earlier d
>> eclaration of 'vnl_numeric_traits<bool>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 114: Multiple
>> declaration for 'vnl_numeric_traits<char>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h 94:
>> Earlier d
>> eclaration of 'vnl_numeric_traits<char>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 137: Multiple
>> declaration for 'vnl_numeric_traits<unsigned char>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 118: Earlier
>> declaration of 'vnl_numeric_traits<unsigned char>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 160: Multiple
>> declaration for 'vnl_numeric_traits<signed char>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 141: Earlier
>> declaration of 'vnl_numeric_traits<signed char>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 183: Multiple
>> declaration for 'vnl_numeric_traits<short>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 164: Earlier
>> declaration of 'vnl_numeric_traits<short>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 206: Multiple
>> declaration for 'vnl_numeric_traits<unsigned short>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 187: Earlier
>> declaration of 'vnl_numeric_traits<unsigned short>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 229: Multiple
>> declaration for 'vnl_numeric_traits<int>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 210: Earlier
>> declaration of 'vnl_numeric_traits<int>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 252: Multiple
>> declaration for 'vnl_numeric_traits<unsigned int>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 233: Earlier
>> declaration of 'vnl_numeric_traits<unsigned int>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 275: Multiple
>> declaration for 'vnl_numeric_traits<long>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 256: Earlier
>> declaration of 'vnl_numeric_traits<long>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 298: Multiple
>> declaration for 'vnl_numeric_traits<unsigned long>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 279: Earlier
>> declaration of 'vnl_numeric_traits<unsigned long>'
>> Error E2238 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 321: Multiple
>> declaration for 'vnl_numeric_traits<float>'
>> Error E2344 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 302: Earlier
>> declaration of 'vnl_numeric_traits<float>'
>> Error E2228 Z:\Insight\Utilities\vxl\core\vnl/vnl_numeric_traits.h
>> 302: Too many
>> error or warning messages
>> *** 26 errors in Compile ***
>>
>>
>> They are different from previous error message I have from BCB6 but it
>> does not compile at all...
>> or am I wrong?
>>
>> thanks
>>
>> Luca
>>
>>
>>
>> Lorensen, William E (Research) wrote:
>>
>>>We support BCC55. That is the free borland compiler. I don't believe we ever supported another borland compiler.
>>>
>>>
>>>-----Original Message-----
>>>From: insight-developers-bounces+lorensen=crd.ge.com at itk.org
>>>[mailto:insight-developers-bounces+lorensen=crd.ge.com at itk.org]On Behalf
>>>Of Mathieu Malaterre
>>>Sent: Thursday, July 28, 2005 9:56 AM
>>>To: Luca Picello
>>>Cc: insight-developers at itk.org
>>>Subject: Re: [Insight-developers] [Fwd: [Fwd: Re: [Insight-users]
>>>#include<stdlib.h> missing]]
>>>
>>>
>>>Luca,
>>>
>>> I believe support for BCB6 has been drop in ITK. Could someone with
>>>more knowledge on the problems with BCN6 confirm this and add a section in:
>>>
>>>http://www.itk.org/Wiki/Itk_FAQ#Platform-specific_questions
>>>
>>>Thanks,
>>>Mathieu
>>>
>>>Luca Picello wrote:
>>>
>>>
>>>>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.
>>>>I tried with a simple copy/paste of my updated gdcm folder over
>>>>Z:\Insight\Utilities\gdcm and it compiles successfully.
>>>>
>>>>However later, in the compilation process, I have this error:
>>>>
>>>>Borland C++ 5.6.4 for Win32 Copyright (c) 1993, 2002 Borland
>>>>Z:\Insight\Utilities\vxl\core\vnl\vnl_linear_system.cxx:
>>>>Building object file vnl_sparse_matrix_linear_system.obj...
>>>>Borland C++ 5.6.4 for Win32 Copyright (c) 1993, 2002 Borland
>>>>Z:\Insight\Utilities\vxl\core\vnl\vnl_sparse_matrix_linear_system.cxx:
>>>>Assertion failed
>>>>Z:\Insight\Utilities\vxl\core\vnl\vnl_sparse_matrix_linear_syst
>>>>em.cxx(12) : isTmplSpecSym(sym) at d:\helena\bcc\indep\cppdecl.c(1970)
>>>>
>>>>** error 3 ** deleting vnl_sparse_matrix_linear_system.obj
>>>>
>>>>
>>>>It could be an internal BCB compiler error related to a strange strong
>>>>c++ syntax.
>>>>Does anybody have any idea on how to correct? It is too complicated for
>>>>me too, to modify it by myself... :°(
>>>>Thanks a million,
>>>>
>>>>
>>>>luca
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>Insight-developers mailing list
>>>>Insight-developers at itk.org
>>>>http://www.itk.org/mailman/listinfo/insight-developers
>>>>
>>>>
>>>>
>>>
>>>_______________________________________________
>>>Insight-developers mailing list
>>>Insight-developers at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-developers
>>>.
>>>
>>>
>>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Insight-developers mailing list
>>Insight-developers at itk.org
>>http://www.itk.org/mailman/listinfo/insight-developers
>>
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
More information about the Insight-developers
mailing list