[gdal-dev] gdal_priv.h not found on ubuntu

Frank Warmerdam warmerdam at pobox.com
Tue Oct 28 11:42:14 EDT 2008


Matt Wilkie wrote:
> Hello Folks,   I could use some hand-holding please... :)
> 
> I'm trying to compile Matt Perry's hillshade
> [http://www.perrygeo.net/wordpress/?p=7] utility on Ubuntu 8.10 (amd64
> if that makes a difference). I'm told "hillshade.cpp:24:23: error:
> gdal_priv.h: No such file or directory". I have installed libgdal1-dev
> and verified gdal_priv.h does exist in /usr/include/gdal. What am I
> missing?

Matt,

Try:

g++ -I/usr/include/gdal hillshade.cpp -lgdal -o hillshade

PS. I'm interested in adopting Matt Perry's utillities into GDAL proper at
some point to streamline their use and maintenance.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list