[Insight-users] Re: WrapITK error

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Jun 22 16:41:12 EDT 2007


there are some dependency problems with java, which can make the  
whole build process fail if a program exit anormally, like it was the  
case for you. In that case, I run a make clean and rerun the build.  
Those deps problems are also making the parallel build fail with java.
That's quite painful for the java developers, but that out of my  
cmake knownledge. I asked for the help of cmake experts several times  
to fix those deps problems, but never get it.

Gaëtan


Le 22 juin 07 à 21:56, Zhu, Yaoyao (NIH/NLM/LHC) [C] a écrit :

> Gaëtan,
>
> As I expected, here is the result
>
> Start processing tests
> Test project /home/zhuyao/software/itkSharedLinux
>   1/ 14 Testing JavaSimplePipelineSL2         ***Failed
>   2/ 14 Testing JavaSimplePipelineSS2         ***Failed
>   3/ 14 Testing JavaSimplePipelineUC2         ***Failed
>   4/ 14 Testing JavaSimplePipelineUL2         ***Failed
>   5/ 14 Testing JavaSimplePipelineUS2         ***Failed
>   6/ 14 Testing JavaSimplePipelineF2          ***Failed
>   7/ 14 Testing JavaSimplePipelineD2          ***Failed
>   8/ 14 Testing JavaSimplePipelineSL3         ***Failed
>   9/ 14 Testing JavaSimplePipelineSS3         ***Failed
>  10/ 14 Testing JavaSimplePipelineUC3         ***Failed
>  11/ 14 Testing JavaSimplePipelineUL3         ***Failed
>  12/ 14 Testing JavaSimplePipelineUS3         ***Failed
>  13/ 14 Testing JavaSimplePipelineF3          ***Failed
>  14/ 14 Testing JavaSimplePipelineD3          ***Failed
>
> 0% tests passed, 14 tests failed out of 14
>
> The following tests FAILED:
>           1 - JavaSimplePipelineSL2 (Failed)
>           2 - JavaSimplePipelineSS2 (Failed)
>           3 - JavaSimplePipelineUC2 (Failed)
>           4 - JavaSimplePipelineUL2 (Failed)
>           5 - JavaSimplePipelineUS2 (Failed)
>           6 - JavaSimplePipelineF2 (Failed)
>           7 - JavaSimplePipelineD2 (Failed)
>           8 - JavaSimplePipelineSL3 (Failed)
>           9 - JavaSimplePipelineSS3 (Failed)
>          10 - JavaSimplePipelineUC3 (Failed)
>          11 - JavaSimplePipelineUL3 (Failed)
>          12 - JavaSimplePipelineUS3 (Failed)
>          13 - JavaSimplePipelineF3 (Failed)
>          14 - JavaSimplePipelineD3 (Failed)
> Errors while running CTest
>
> -----Original Message-----
> From: Gaëtan Lehmann [mailto:gaetan.lehmann at jouy.inra.fr]
> Sent: Friday, June 22, 2007 3:44 PM
> To: Zhu, Yaoyao (NIH/NLM/LHC) [C]
> Cc: Insight Users
> Subject: Re: WrapITK error
>
>
> Le 22 juin 07 à 20:51, Zhu, Yaoyao (NIH/NLM/LHC) [C] a écrit :
>
>> Gaëtan,
>>
>> My class path is correct. I found out what is wrong:
>>
>> I went to binary codes directory, under Wrapping/WrapITK/Java/
>>
>> There are InsightToolkit.jar and a directory "InsightToolkit":
>> Both of itkImageFileReaderJNI/ itkImageFileWriterJNI only have
>> *.java file and not class files.
>
> your program builds, so that's surprising!
>
>>
>> I extracted InsightToolkit.jar, the same thing.
>>
>> So maybe the script doesn't compile these java files. When I do
>> "make" nothing is wrong. Could you please check it for me?
>
> there must have be something wrong in the build process.
> Can you run
>
>    ctest -C Release -R Java
>
> and report the result ?
>
>>
>> Yaoyao
>>
>>
>> -----Original Message-----
>> From: Gaëtan Lehmann [mailto:gaetan.lehmann at jouy.inra.fr]
>> Sent: Friday, June 22, 2007 1:53 PM
>> To: Zhu, Yaoyao (NIH/NLM/LHC) [C]
>> Cc: Insight Users
>> Subject: Re: WrapITK error
>>
>>
>> Le 22 juin 07 à 19:47, Zhu, Yaoyao (NIH/NLM/LHC) [C] a écrit :
>>
>>> java.lang.NoClassDefFoundError
>>
>>
>> it looks like a simple classpath error. Before further investigation,
>> have you check your classpath ?
>>
>> Gaëtan
>>
>> --
>> 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
>>
>>
>>
>
> --
> 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
>
>
>

--
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: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://public.kitware.com/pipermail/insight-users/attachments/20070622/e0dfa3c0/PGP.pgp


More information about the Insight-users mailing list