It seems that you're using a local version of gdal (the path is /usr/local and there is normally no package install in /usr/local on debian system).
How did you configure your local version of gdal? Depending on thsi configuration, you could have to change the OTB cmake config You can find some info on how to configure and build gdal on your system: http://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech32.html#x61-45200032.4.3 You can also install a gdal package using the package manager. The gdal package with correct configurations is available on the ubuntugis-unstable repository: https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable <https://launchpad.net/%7Eubuntugis/+archive/ubuntugis-unstable> Manuel Le 30/01/2014 11:39, Khalid Assnou a écrit : > i install libfltk-dev > > than i ccmake ../OTB-3. > it gives me errors : > Make Error at CMake/ImportGdal.cmake:73 (MESSAGE): > Cannot find geotiff headers. Please set GEOTIFF_INCLUDE_DIRS. > Call Stack (most recent call first): > CMakeLists.txt:220 (INCLUDE > > i think i need to add the path of geotiff il file /ImportGdal.cmake > the path is: /usr/local/gdal-1.9.2/frmts/gtiff/libgeotiff > > i tried to add it like this > SET(GEOTIFF_INCLUDE_DIRSG "${GEOTIFF_INCLUDE_DIRS}" CACHE STRING > "/usr/local/gdal-1.9.2/frmts/gtiff/libgeotiff") > but it did'nt work > > > > Le jeudi 30 janvier 2014 11:25:41 UTC+1, Khalid Assnou a écrit : > > Thanks, i will try to do it with libfltk-dev > > > > Le jeudi 30 janvier 2014 10:56:07 UTC+1, Julien Malik a écrit : > > You can use the libfltk-dev package then, and don't care about > building > fltk yourself. > Then be sure to have OTB_USE_EXTERNAL_FLTK=OFF during the OTB > configuration. > > If you really want to build FLTK yourself, then maybe try > building it > dynalically (BUILD_SHARED_LIBS=ON) > > Julien > > On 01/29/2014 10:34 AM, Khalid Assnou wrote: > > i use ubuntu 13.10 > > > > gdal :1.9.2 > > cmake: 2.8.12.2 > > fltk: 1.3.0 > > -- > > -- > > Check the OTB FAQ at > > http://www.orfeo-toolbox.org/FAQ.html > <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 > <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/groups/opt_out > <https://groups.google.com/groups/opt_out>. > > -- > -- > 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/groups/opt_out. -- -- 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/groups/opt_out.
