[ITK] ITK Ctest errors reply

Kurt Sansom kayarre at gmail.com
Mon Feb 22 12:50:11 EST 2016


yes it does see below.
Thanks for replying.
~Kurt

~/build/VTK/build/lib]$ pwd

/Users/sansomk/build/VTK/build/lib

~/build/VTK/build/lib]$ ll libvtkRenderingAnnotation-7*

-rwxr-xr-x  1 sansomk  staff   733K Feb 18 11:42
libvtkRenderingAnnotation-7.0.1.dylib

-rw-r--r--  1 sansomk  staff   1.4M Feb 17 23:02
libvtkRenderingAnnotation-7.0.a

lrwxr-xr-x  1 sansomk  staff    37B Feb 18 11:42
libvtkRenderingAnnotation-7.0.dylib -> libvtkRenderingAnnotation-7.0.1.dylib

On Mon, Feb 22, 2016 at 6:24 AM, Matt McCormick <matt.mccormick at kitware.com>
wrote:

> 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
>>
>>
>


-- 
Kurt Sansom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160222/64e01051/attachment.html>


More information about the Community mailing list