[Insight-developers] CoSMoTest-Mac Darwin-c++-4.2-i386 : Test Failures

Luis Ibanez luis.ibanez at kitware.com
Mon Apr 4 10:32:51 EDT 2011


Gaetan,

I'm lost now.

Does this mean that the wrapping can't be run in 32 bits machines ?


     Luis


------------------------------------------------------
2011/4/4 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>
> Luis,
>
> There is no way to add the -d32 flag at this time.
>
> Gaëtan
>
>
>
> Le 4 avr. 11 à 16:22, Luis Ibanez a écrit :
>
>> Hi Gaetan,
>>
>> Thanks a lot for the explanation.
>>
>>
>> Alex, Mark,
>>
>> Could you pleas add the -d32 flag to this CosMo build ?
>>
>> We are getting closer to a green dashboard,...
>>
>> and we would like to tag ITK since this is the green
>> period after the Modularization.
>>
>>
>>  Thanks
>>
>>
>>      Luis
>>
>>
>> ---------------
>> 2011/4/4 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>>>
>>> Luis,
>>>
>>> The problem is that the /usr/bin/java is run in 64bit by default.
>>> Adding -d32 in the command line makes the test pass.
>>>
>>> I'd prefer not adding that in the CMakeLists.txt though.
>>> Mac OS should let us choose the architecture with the arch command or
>>> with
>>> the ARCHPREFERENCE environment variable, but it doesn't seem to work.
>>>
>>> If a Mac guru is around, I'd appreciate some input on how to choose the
>>> architecture.
>>>
>>> Regards,
>>>
>>> Gaëtan
>>>
>>>
>>>
>>> Le 4 avr. 11 à 15:01, Luis Ibanez a écrit :
>>>
>>>> Alex, Mark,
>>>>
>>>> The build in:
>>>>
>>>>   CoSMoTest-Mac    Darwin-c++-4.2-i386 Notes
>>>>
>>>> Seems to have a configuration problem:
>>>>
>>>> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=937990
>>>>
>>>>
>>>> ----
>>>>
>>>> BinaryDilateImageFilter Example
>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>>>
>>>>
>>>> /Users/CoSMoTest-Mac/tests/ITK-i386/lib/libBaseJava.jnilib:
>>>>
>>>> no suitable image found.
>>>>
>>>> Did find:
>>>>
>>>> /Users/CoSMoTest-Mac/tests/ITK-i386/lib/libBaseJava.jnilib:
>>>>
>>>> mach-o,
>>>> but wrong architecture
>>>>
>>>> /Users/CoSMoTest-Mac/tests/ITK-i386/lib/libBaseJava.jnilib:
>>>>
>>>> mach-o,
>>>> but wrong architecture
>>>>
>>>>       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>>>>       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1823)
>>>>       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
>>>>       at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>>>>       at java.lang.System.loadLibrary(System.java:1045)
>>>>       at
>>>>
>>>> org.itk.itkjavabase.itkJavaLibraryLoader.Load(itkJavaLibraryLoader.java:43)
>>>>       at
>>>>
>>>> org.itk.base.itkImageSourceJavaJNI.<clinit>(itkImageSourceJavaJNI.java:17)
>>>>       at
>>>> org.itk.base.itkImageSourceIUS2.<clinit>(itkImageSourceIUS2.java:61)
>>>>       at BinaryDilateImageFilter.main(BinaryDilateImageFilter.java:35)
>>>> itkTestDriver: Process exited with return value: 1
>>>>
>>>>
>>>>
>>>> Could you please make sure that this is a clean build,
>>>> and maybe take a look at its JAVA CLASSPATH and
>>>> the LD_LIBRARY_PATH environment variables ?
>>>>
>>>>
>>>>   Thanks
>>>>
>>>>
>>>>         Luis
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Kitware offers ITK Training Courses, for more information visit:
>>>> http://kitware.com/products/protraining.html
>>>>
>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>
>>> --
>>> 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  http://www.itk.org
>>> http://www.mandriva.org  http://www.bepo.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  http://www.itk.org
> http://www.mandriva.org  http://www.bepo.fr
>
>


More information about the Insight-developers mailing list