openwfm / convert_geotiff

A commandline utility for converting GeoTIFF files for use in WRF
http://www.openwfm.org
The Unlicense
49 stars 27 forks source link

configure: error: Cannot find TIFF library. Try setting CFLAGS and LDFLAGS if it is installed in a non-standard location. #10

Open Anielal opened 1 year ago

Anielal commented 1 year ago

Hi Screenshot from 2023-03-14 20-05-35

While configuring I am getting the above error. Kindly help me resolve the issue.

Looking forward to any kind of help.

Thank you

claudiomet commented 1 year ago

sudo apt install libtiff-dev and configure again. in configure I have a warning:

checking for libproj... checking whether HAVE_LIBPROJ is declared... no configure: WARNING: libproj support is not compiled into geotiff. convert_geotiff will not be able to work with projected files.

A don't know if this warning is important, because I converted my SRTM3 to geogrid format, (GEOGRID.TBL and namelist correctly edited) , but doesn't work, WPS still using GTOPO30 because my converted files has no data.