[Insight-users] Re: WrapITK Java Runtime issue

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sun Jan 27 16:07:12 EST 2008


Hi,

I can reproduce that problem.
Can you file a bug in the bugtracker and assign it to me?

   http://www.itk.org/Bug

Thanks,

Gaëtan



Le 23 janv. 08 à 23:13, Daniel Mace a écrit :

> Hi,
>
> I have a quick question regarding WrapITK and Java.  I can download  
> and compile ITK/CableSwig/WrapITK fine when I have the Build Mode  
> set to blank "", but when I try and build it under "Release" mode I  
> get some runtime issues.  I can't seem to get the filters to update  
> their inputs (SetInput() doesn't work).  I've tried this with  
> several of the test files and it seems to be a recurring issue.   
> With the simple read and write example it tells me: "No Input to  
> writer!", and with the cast image filter, it tells me: "At least 1  
> inputs are required but only 0 are specified".  These are all thrown  
> when calling the writer.Update() method.  The pipeline just doesn't  
> seem to connect in release mode.   From what I can tell, the reader  
> seems to be working fine (throws exceptions if no file is found/ 
> wrong IO factory, etc.), but none of the pipelines work.  Is this a  
> bug, or can WrapITK for Java not be built under "Release" mode.  Am  
> I getting a performance hit by not building it under "Release" mode  
> (which is usually the case when I am writing ITK code in C++).
>
> I've reproduced this on two separate machines running Linux (ubuntu  
> and CentOS), and all combinations of Java 1.5, 1.6, ITK 2.81 and ITK  
> 3.4 and have gotten identical issues.   It doesn't seem to matter if  
> I build CableSwig and ITK first in Release mode, it's just the last  
> build of WrapITK that matters.   I've also tried it building it with  
> CableSwig and no WrapITK manually and got the same results.
>
> Cheers,
> Dan
>

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr




-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://public.kitware.com/pipermail/insight-users/attachments/20080127/3bb2f551/PGP.pgp


More information about the Insight-users mailing list