[Gdal-dev] Gdal Build error

Tim Sutton tim at linfiniti.com
Wed Jan 7 17:53:16 EST 2004


Hi

When I built gdal with grass support earlier today, I got the following build 
error:

 g++ -Wall -O2 -I/usr/local/include -I/usr/local/include/include -I../../port 
-I../../gcore -I../../ogr -I../../port -c grassdataset.cpp  -fPIC -DPIC 
-o ../o/.libs/grassdataset.o
grassdataset.cpp: In static member function `static GDALDataset*
   GRASSDataset::Open(GDALOpenInfo*)':
grassdataset.cpp:513: error: invalid conversion from `int (*)(...)' to `int
   (*)()'


I worked around this by commenting out the offending line (Ouch!).

The gdal version is:

GDAL 1.1.9.0, released 2003/06/27

Which admittedly quite old, so this message may no longer be relevant. The 
libgrass used was the one available on the gdal website - downloaded today.

Regards

Tim Sutton
-- 
Get my public keys from:

http://tim.suttonfamily.co.uk/modules.php?name=Content&pa=showpage&pid=2



More information about the Gdal-dev mailing list