[ITK] ITK Ctest errors

Matt McCormick matt.mccormick at kitware.com
Mon Feb 22 09:24:46 EST 2016


Hi Kurt,

Does

  libvtkRenderingAnnotation-7.0.1.dylib

exist in <build dr>/VTK/build/lib/ ?

Thanks,
Matt

On Mon, Feb 22, 2016 at 3:01 AM, Kurt Sansom <kayarre at gmail.com> wrote:

> I have ITK and VTK built with shared libraries on OSX 10.11, and have
> DYLD_LIBRARY_PATH set to
>
> <build dir>/VTK/build/lib:<build dir>/ITK/build/lib
>
> But several tests fail with same kind of error.(see below) does anyone
> have any insight into what is causing this. I looked at using otool -L to
> look at what the library is  trying to ling to but I didn't see anything
> weird or don't know enough to properly interpret.
>
> Thank you.
>
> ~Kurt
>
>
> 2783: Test command: /Users/sansomk/build/ITK/build/bin/itkTestDriver
> "--add-before-env" "PYTHONPATH"
> "/Users/sansomk/build/ITK/build/Wrapping/Generators/Python/Release"
> "--add-before-env" "PYTHONPATH"
> "/Users/sansomk/build/ITK/build/Wrapping/Generators/Python"
> "--add-before-env" "PYTHONPATH"
> "/Users/sansomk/build/ITK/build/lib/Release" "--add-before-env"
> "PYTHONPATH" "/Users/sansomk/build/ITK/build/lib" "--add-before-libpath"
> "/Users/sansomk/build/ITK/build/lib/Release" "--add-before-libpath"
> "/Users/sansomk/build/ITK/build/lib" "--add-before-libpath"
> "/Users/sansomk/build/ITK/build/bin/Release" "--add-before-libpath"
> "/Users/sansomk/build/ITK/build/bin" "--add-before-libpath"
> "/Users/sansomk/build/ITK/build" "arch" "-x86_64"
> "/Users/sansomk/anaconda/bin/python2.7"
> "/Users/sansomk/build/ITK/ITKLatestRelease/Examples/IO/test/../DicomSliceRead.py"
> "/Users/sansomk/build/ITK/build/ExternalData/Testing/Data/Input/dicom-sc_cs-1.dcm"
> "/Users/sansomk/build/ITK/build/Testing/Temporary/DicomSliceReadPythonOutput.png"
> "--compare"
> "/Users/sansomk/build/ITK/build/Testing/Temporary/DicomSliceReadPythonOutput.png"
> "/Users/sansomk/build/ITK/build/ExternalData/Examples/IO/test/Baseline/DicomSliceReadPythonOutputBaseline.png"
>
> 2783: Test timeout computed to be: 1500
>
> 2783: Traceback (most recent call last):
>
> 2783:   File
> "/Users/sansomk/build/ITK/ITKLatestRelease/Examples/IO/test/../DicomSliceRead.py",
> line 36, in <module>
>
> 2783:     InputImageType  = itk.Image.SS2
>
> 2783:   File
> "/Users/sansomk/build/ITK/build/Wrapping/Generators/Python/itkLazy.py",
> line 42, in __getattribute__
>
> 2783:     itkBase.LoadModule(module, namespace)
>
> 2783:   File
> "/Users/sansomk/build/ITK/build/Wrapping/Generators/Python/itkBase.py",
> line 128, in LoadModule
>
> 2783:     module = loader.load(swigModuleName)
>
> 2783:   File
> "/Users/sansomk/build/ITK/build/Wrapping/Generators/Python/itkBase.py",
> line 245, in load
>
> 2783:     return imp.load_module(name, fp, pathname, description)
>
> 2783:   File "/Users/sansomk/build/ITK/build/lib/ITKCommonPython.py", line
> 32, in <module>
>
> 2783:     _ITKCommonPython = swig_import_helper()
>
> 2783:   File "/Users/sansomk/build/ITK/build/lib/ITKCommonPython.py", line
> 28, in swig_import_helper
>
> 2783:     _mod = imp.load_module('_ITKCommonPython', fp, pathname,
> description)
>
> 2783: ImportError:
> dlopen(/Users/sansomk/build/ITK/build/lib/_ITKCommonPython.so, 2): Library
> not loaded: libvtkRenderingAnnotation-7.0.1.dylib
>
> 2783:   Referenced from:
> /Users/sansomk/build/ITK/build/lib/_ITKCommonPython.so
>
> 2783:   Reason: image not found
>
> 2783: itkTestDriver: Process exited with return value: 1
>
> 74/74 Test #2783: DicomSliceReadPythonTest
> ..................................***Failed    0.60 sec
>
> Does
> --
> Kurt Sansom
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160222/905c5756/attachment.html>


More information about the Community mailing list