Hello Payal,

On Wed, Jul 16, 2014 at 10:25 AM, Payal Prajapati <
[email protected]> wrote:

> Hello All,
>
> I am using OTB-4.0 with External ITK-4.5.2 . While configuring ITK ,option
> ITK_USE_SYSTEM_HDF is off. while configuring OTB ,option
>

So you are using itk's internal HDF.


> OTB_USE_EXTERNAL_GDAL is on and I have enabled hdf5 support in
> gdal(1.11.0) by installing hdf-1.8.13 and configuring gdal with it. I have
> set GDAL_INCLUDE_DIR to /usr/local/include and GDAL_LIB_DIR to
> /usr/local/lib/libgdal.so.1 while configuring gdal.Now the problem is when
> I am trying to read or write HDF files using OTB it gives me warning :there
> may be a segmentation fault later because it links to  hdf 1.8.13 headers*
> but it links to 1.8.7 libraries*(Error is not exactly the same.i dont
> remember the exact error.but the meaning is this)...I have not installed
> hdf-1.8.7 on my system...
>
> So OTB uses your system HDF via GDAL. No wonder about if it segfaults
without warning. This is same issue with libtiff you had before but in
disguise.

Anyway first thing to do is enable system HDF(as you already have for GDAL)
on ITK and configure OTB again with the same.

> How to solve it? how to make my program links to hdf 1.8.13 libraries? any
> help is appreciated.
>
> Thank You,
> Payal
>
> --
> --
> 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.

Reply via email to