Hi Larry,
Not sure about clang5.1 though. I had a similar issue couple of days ago
and this fix worked
Can you try this patch on Code/ApplicationEngine/otbWrapperApplication.h
and see if this works
diff -r 12576beb1198 Code/ApplicationEngine/otbWrapperApplication.h
--- a/Code/ApplicationEngine/otbWrapperApplication.h Fri Feb 14 18:22:55
2014 +0100
+++ b/Code/ApplicationEngine/otbWrapperApplication.h Sat Mar 22 20:58:15
2014 +0100
@@ -707,7 +707,9 @@
if (dynamic_cast<InputImageParameter*>(param))
{
InputImageParameter* paramDown =
dynamic_cast<InputImageParameter*>(param);
- ret = paramDown->GetImage<TImageType>();
+ ret = dynamic_cast<TImageType*>(paramDown->GetImage());
}
On Tue, Apr 1, 2014 at 7:23 PM, Larry Shaffer <[email protected]>wrote:
> Hi,
>
> See https://github.com/OSGeo/homebrew-osgeo4mac/issues/24
>
> Any ideas for a fix?
>
> Regards,
>
> Larry Shaffer
> Dakota Cartography
> Black Hills, South Dakota
>
> --
> --
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Regards,
Rashad
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.