Hi, I think that in case you're using the same TIFF headers and libraries for gdal and ossim then you should *not* rename tiff symbol in the gdal configuration.
On 23/04/2014 15:12, [email protected] wrote: > Hi Manuel, > > You said: "*In this case you need to point TIFF_INCLUDE_DIRS to gdal > include directory and TIFF_LIBRARY to your gdal library."* > I thought that it was already what I have done by setting > TIFF_INCLUDE_DIRS=/home/lwasquel/gdal-1.10.1/frmts/gtiff/libtiff . > Indeed,TIFF_LIBRARY is currently set to > /home/lwasquel/gdal-1.10.1/.libs/libgdal.so > > So it should work, right? > > Or am I wrong? > > Thank you for your help! > > Best, > Loïc > > > Le mercredi 23 avril 2014 14:54:32 UTC+2, Grizonnet Manuel a écrit : > > Hi Loic, > > your gdal configuration is fine I think but OSSIM (which is a > internal dependency of OTB) required also tiff and geotiff headers > to compile. I would advise you to install those headers. You > should have on your system a package called libtif-dev or > libtiff-devel (and libgeotiff-dev). > > Doing this, you'll not have to override GEOTIFF_INCLUDE_DIRS and > TIFF_INCLUDE_DIRS. System tiff and geotiff headers will be used to > compile OSSIM and no conflict will appear in your OTB config as > you've rename tiff symbol in your gdal configuration. > > > If you're not able to install those headers for tiff and geotiff > (if you're not root for instance), OTB can also work with > tiff/geotiff symbol exposed or not renamed in gdal, in this case > the same tiff/geotiff headers need to be used to build ossim. *In > this case you need to point TIFF_INCLUDE_DIRS to gdal include > directory and TIFF_LIBRARY to your gdal library.* > > I agree that the OTB documentation is still not 100% clear on > this, there was by the way a recent discussion on this particular > issue on otb-developers: > > https://groups.google.com/forum/#!topic/otb-developers/jE7YK1NtXN8 > <https://groups.google.com/forum/#%21topic/otb-developers/jE7YK1NtXN8> > > Let us know if you've got other issues. > > Regards, > > Manuel > > . > > -- > Manuel GRIZONNET > CNES - DCT/SI/AP - BPI 1219 > 18, avenue Edouard Belin > 31401 Toulouse Cedex 09 - France > Tel: +33 561 282 630 - Fax: +33 561 283 109 > > -- > -- > 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- Manuel GRIZONNET CNES - DCT/SI/AP - BPI 1219 18, avenue Edouard Belin 31401 Toulouse Cedex 09 - France Tel: +33 561 282 630 - Fax: +33 561 283 109 -- -- 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.
