[Insight-developers] CoSMoTest-Mac Darwin-c++-4.2-i386 : Test Failures
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Mon Apr 4 10:14:59 EDT 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110404/581bdee5/attachment.pgp>
More information about the Insight-developers
mailing list