[Insight-users] Re: problem of itk compiled in Borland C++ builder
Luis Ibanez
luis.ibanez at kitware.com
Wed Dec 22 23:11:01 EST 2004
Hi Zhao,
Did you add the try/catch block as we suggested in
the previous email ?
If so, please post the *exact* error message that
you get from the exception.
Also, please double check what is the version of
the Borland compiler that is distributed with
Borland Builder 5.0, and let us know how you are
using CMake in order to generate a project for
Borland Builder 5.0.
Thanks
Luis
---
PS. One typical suspect is that you may be mixing
Debug and Release components and the size of
structures don't match at run time....
----------------------------------------------------
Zhao Yongming wrote:
> Hi Luis,
>
> It seems that the problem is neither of the ones you
> showed. I used the examples before. So I used the
> ImageReadWrite program to input/output images all
> surported by itk(such as MetoImage(*.mhd),JPG...).
> whenever I tried to output a file, errors appeared.
> the debug information showed that the there was a
> conflict in the obeject factory .
>
> Regards,
> Zhao
>
> --- Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
>
>>
>>Hi Zhao,
>>
>>
>>The most likely sources of your problem are:
>>
>>
>>1) You are probably missing to pass the command line
>> arguments that this program is expecting:
>> input and output filenames.
>>
>>
>>OR
>>
>>
>>2) You are passing filenames for image formats that
>> are not supported by ITK.
>>
>>
>>
>>Please add a try/catch block arount the Update()
>>method on
>>the examples where you are getting an exception
>>being thrown,
>>and print out the message provided by the exception.
>>
>>
>>You will find many examples of try/catch blocks on
>>the
>>ITK Software Guide
>>
>> http://www.itk.org/ItkSoftwareGuide.pdf
>>
>>
>>
>> Regards,
>>
>>
>>
>> Luis
>>
>>
>>
>>--------------------------
>>Zhao Yongming wrote:
>>
>>
>>>Hi, luis
>>>I compiled itk1.8 with Borland C++ builder5.0.
>>>I used CMake1.8.1 and built it successfully.
>>>but when i used the examples of it,such as
>>>ImageReadWrite.exe or developed my own application
>>>using the compiled LIBs. Errors appeared like
>>
>>this:
>>
>>><<<<<<<<<<<<<<<<<<
>>>memory can't be writen
>>><<<<<<<<<<<<<<<<<<
>>>Project Project1.exe raised exception class
>>
>>EAccess
>>
>>>Violation with message 'Access violation at
>>
>>address
>>
>>>325556DA in module"CC3250MT.dll" '
>>>
>>>Can you tell me why? or give me some advice on
>>>compiling itk in Borland C++ builder?
>>>Thank you!
>>> regards,
>>> Yongming Zhao
>>>
>>>
>>
>>
>>
>>
>>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced search.
> http://info.mail.yahoo.com/mail_250
>
>
More information about the Insight-users
mailing list