[Insight-users] Help, use the libraries ITK with C++ Builder 5.

Luis Ibanez luis.ibanez at kitware.com
Wed Nov 21 15:30:06 EST 2007


Hi Yamill,

Thanks for letting us know.

I would suggest then that you use bcc 5.5.1 for
compiling all the elements of your application.

That is, use bcc 5.5.1 for compiling ITK (and
any other libraries that you need to build),
as well as for compiling the code of your
application.


    Regards,


        Luis



---------------------------
Yamill Campos Perez wrote:
> Hi Luis, 
> In response to your question 
> 
> Is there a particular reason why you are mixing to
> versions of the Borland compiler?
> 
> The reason is that when I use the Borland Builder C++
> 5 and use the make, I get this error. 
> 
> Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000
> Borland
> C:\ITK\ITK340\Utilities\gdcm\src\gdcmVR.cxx:
> Error E2285
> C:\ITK\ITK340\Utilities\gdcm\src\gdcmVR.cxx 122: Could
> not find a ma
> tch for 'std::binary_search<ForwardIterator,T>(const
> std::string *,const std::st
> ring *,const std::string)' in function
> VR::IsVROfStringRepresentable(const std::
> string &)
> Warning W8004
> C:\ITK\ITK340\Utilities\gdcm\src\gdcmVR.cxx 123: 'end'
> is assigned
>  a value that is never used in function
> VR::IsVROfStringRepresentable(const std:
> :string &)
> Warning W8057
> C:\ITK\ITK340\Utilities\gdcm\src\gdcmVR.cxx 123:
> Parameter 'tested
> ' is never used in function
> VR::IsVROfStringRepresentable(const std::string &)
> *** 1 errors in Compile ***
> 
> ** error 1 ** deleting
> Utilities\gdcm\src\CMakeFiles\itkgdcm.dir\gdcmVR.obj
> 
> ** error 1 ** deleting
> Utilities\gdcm\src\CMakeFiles\itkgdcm.dir\all
> 
> ** error 1 ** deleting all
> 
> The compiler of Borlnad Builder C++ 5, is version 5.5 
> When compiling with the compiler borland vesión 5.5.1,
> all OK.
> 
> Regards,
> Yamill
> 
> --- Luis Ibanez <luis.ibanez at kitware.com> escribió:
> 
> 
>>Hi Yamill
>>
>>You should compile your project with the *same*
>>compiler that you used for building ITK.
>>
>>Is there a particular reason why you are
>>mixing to versions of the Borland compiler ?
>>
>>
>>Please let us know,
>>
>>
>>   Thanks
>>
>>
>>      Luis
>>
>>
>>---------------------------
>>Yamill Campos Perez wrote:
>>
>>>Hi Luis, thank you for your response. 
>>>I compile libraries itk with borland free version,
>>
>>the
>>
>>>version Borland C++ 5.5.1, and version 5.2 that
>>
>>make
>>
>>>Internet download. 
>>>
>>>I am using the Borland C++ builder 5, the compiler
>>
>>is
>>
>>>version 5.5 and not 5.5.1 using to compile the
>>
>>library
>>
>>>itk. 
>>>
>>>One question, it should not issue? 
>>>Regards, 
>>>Yamill
>>>
>>>
>>>--- Luis Ibanez <luis.ibanez at kitware.com>
>>
>>escribió:
>>
>>>
>>>>Hi Yamill,
>>>>
>>>>
>>>>Is C++ Builder 5 the one that comes with bcc 5.5 ?
>>>>
>>>>
>>>>If so,
>>>>then you can use any of the programs in
>>>>
>>>>           Insight/Examples
>>>>
>>>>and any of the demo applications in
>>>>
>>>>
>>>>           InsightApplications
>>>>
>>>>
>>>>
>>>>
>>>>    Regards,
>>>>
>>>>
>>>>       Luis
>>>>
>>>>
>>>>
>>>
>>>
> ----------------------------------------------------------
> 
>>>>Yamill Campos Perez wrote:
>>>>
>>>>
>>>>>Hello everyone, I am new in the use of libraries
>>>>
>>>>ITK.
>>>>
>>>>
>>>>>I would like to know where I can find some simple
>>>>>example, source code, which use the libraries ITK
>>>>
>>>>with
>>>>
>>>>
>>>>>C++ Builder 5. 
>>>>>regards, 
>>>>>Yamill
>>>>>
>>>>>
>>>>>
>>>>>Insight-users mailing list
>>>>>Insight-users at itk.org
>>>>>http://www.itk.org/mailman/listinfo/insight-users
>>>>>
>>>>
>>>
>>>
>>>      Comparte video en la ventana de tus mensajes
>>
>>(y también tus fotos de Flickr). Usa el nuevo Yahoo!
>>Messenger versión Beta.
>>
>>>http://e1.beta.messenger.yahoo.com/
>>>
>>
> 
> 
> 
>       Comparte video en la ventana de tus mensajes (y también tus fotos de Flickr). Usa el nuevo Yahoo! Messenger versión Beta.
> http://e1.beta.messenger.yahoo.com/
> 


More information about the Insight-users mailing list