ITKElastix
ITKElastix copied to clipboard
itk.imread() gives non-fatal dynamic cast errors in the lldb python debugger.
The lldb warnings/errors thrown by itk.imread:
Process 6134 launched: '/Users/viktorvandervalk/anaconda3/envs/ITKDebugNielsFinal/bin/python' (x86_64)
2021-02-18 17:09:41.070552+0100 python[6134:292558] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-18 17:09:41.070616+0100 python[6134:292558] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk10DataObjectE, N3itk5ImageIfLj2EEE, N3itk9ImageBaseILj2EEE.
2021-02-18 17:09:41.078145+0100 python[6134:292558] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-18 17:09:41.078190+0100 python[6134:292558] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk10DataObjectE, N3itk5ImageIfLj2EEE, N3itk9ImageBaseILj2EEE.
Just in case it is useful: https://stackoverflow.com/questions/51297638/how-to-fix-type-infos-has-hidden-visibility-they-should-all-have-public-visib
From: Viktor van der Valk [email protected] Sent: Thursday, February 18, 2021 5:13 PM To: InsightSoftwareConsortium/ITKElastix [email protected] Cc: Subscribed [email protected] Subject: [InsightSoftwareConsortium/ITKElastix] itk.imread() gives non-fatal dynamic cast errors in the lldb python debugger. (#105)
The lldb warnings/errors thrown by itk.imread:
Process 6134 launched: '/Users/viktorvandervalk/anaconda3/envs/ITKDebugNielsFinal/bin/python' (x86_64)
2021-02-18 17:09:41.070552+0100 python[6134:292558] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-18 17:09:41.070616+0100 python[6134:292558] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk10DataObjectE, N3itk5ImageIfLj2EEE, N3itk9ImageBaseILj2EEE.
2021-02-18 17:09:41.078145+0100 python[6134:292558] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-18 17:09:41.078190+0100 python[6134:292558] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk10DataObjectE, N3itk5ImageIfLj2EEE, N3itk9ImageBaseILj2EEE.
You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FInsightSoftwareConsortium%2FITKElastix%2Fissues%2F105&data=04%7C01%7Cs.klein%40erasmusmc.nl%7Cd28698cc7d2745bfab2908d8d42803b2%7C526638ba6af34b0fa532a1a511f4ac80%7C0%7C0%7C637492615609770930%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YwMeoNgtQ2HhoJlfG6zd1xxUsqlv0yUzSF8aEmXHbRg%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAF2LNK4GNK7Z7TZ4RHIRPDS7U37NANCNFSM4X2SNA2A&data=04%7C01%7Cs.klein%40erasmusmc.nl%7Cd28698cc7d2745bfab2908d8d42803b2%7C526638ba6af34b0fa532a1a511f4ac80%7C0%7C0%7C637492615609780884%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jK5CAJAowT%2FnmQHS58Y5fSetCFTz5cdiik6iMK3xq7s%3D&reserved=0.
Log from running the an elastix registration:
2021-02-10 17:30:46.289032-0500 Python[18878:22250766] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk25SimpleDataObjectDecoratorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE.
2021-02-10 17:30:46.289072-0500 Python[18878:22250766] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk25SimpleDataObjectDecoratorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE.
2021-02-10 17:30:46.289137-0500 Python[18878:22250766] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk25SimpleDataObjectDecoratorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE.
2021-02-10 17:30:46.289199-0500 Python[18878:22250766] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk25SimpleDataObjectDecoratorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE.
2021-02-10 17:30:46.290155-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk10DataObjectE, N3itk5ImageIfLj2EEE, N3itk9ImageBaseILj2EEE.
2021-02-10 17:30:46.290176-0500 Python[18878:22250766] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk25SimpleDataObjectDecoratorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE.
2021-02-10 17:30:46.291756-0500 Python[18878:22250766] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk25SimpleDataObjectDecoratorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE.
2021-02-10 17:30:46.292567-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk10DataObjectE, N3itk5ImageIfLj2EEE, N3itk9ImageBaseILj2EEE.
2021-02-10 17:30:53.479807-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix21EulerTransformElastixINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix13TransformBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:53.479848-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix21FixedSmoothingPyramidINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix21FixedImagePyramidBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:53.480064-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix21EulerTransformElastixINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix13TransformBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:53.480130-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix21FixedSmoothingPyramidINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix21FixedImagePyramidBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:53.480949-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix21EulerTransformElastixINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix13TransformBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:53.490633-0500 Python[18878:22251554] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.490641-0500 Python[18878:22251556] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.490645-0500 Python[18878:22251560] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.490645-0500 Python[18878:22251559] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.490647-0500 Python[18878:22251552] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.490649-0500 Python[18878:22251558] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.490648-0500 Python[18878:22251551] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.490666-0500 Python[18878:22251557] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.491084-0500 Python[18878:22251553] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.491093-0500 Python[18878:22251559] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.492998-0500 Python[18878:22251552] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.493001-0500 Python[18878:22251556] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.493031-0500 Python[18878:22251558] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.494710-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk10DataObjectE, N3itk5ImageIfLj2EEE, N3itk9ImageBaseILj2EEE.
2021-02-10 17:30:53.496076-0500 Python[18878:22251550] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.496081-0500 Python[18878:22251556] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.496076-0500 Python[18878:22251552] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.496081-0500 Python[18878:22251557] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.496086-0500 Python[18878:22251555] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.496086-0500 Python[18878:22251553] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.496090-0500 Python[18878:22251554] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.496092-0500 Python[18878:22251559] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.502443-0500 Python[18878:22251554] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.508581-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix22MovingSmoothingPyramidINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix22MovingImagePyramidBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:53.515768-0500 Python[18878:22251559] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.515783-0500 Python[18878:22251557] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:53.519710-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk11EventObjectE, N3itk13ProgressEventE, N3itk13ProgressEventE.
2021-02-10 17:30:53.661189-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix19MyStandardResamplerINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix13ResamplerBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:53.801465-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix18LinearInterpolatorINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix16InterpolatorBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:54.074794-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix19MyStandardResamplerINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix13ResamplerBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:54.665298-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix27BSplineResampleInterpolatorINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix24ResampleInterpolatorBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.
2021-02-10 17:30:55.035030-0500 Python[18878:22250766] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N3itk10DataObjectE, N3itk5ImageIfLj2EEE.
2021-02-10 17:30:55.793154-0500 Python[18878:22250766] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3itk6ObjectE, N7elastix19MyStandardResamplerINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE, N7elastix13ResamplerBaseINS_15ElastixTemplateIN3itk5ImageIfLj2EEES4_EEEE.