Calypso: Direct and full interfacing to C++

CraigDillabaugh via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue May 19 09:32:59 PDT 2015


On Tuesday, 19 May 2015 at 08:09:33 UTC, Suliman wrote:
> modmap (C++) "<gdalwarper>";
>
> import std.stdio;
>
> void main()
> {
> 	GDALDatasetH  hSrcDS, hDstDS;
> 	GDALAllRegister();
> 	writeln("hello");
> }
>
>
> error:
> app.d(7): Error: undefined identifier GDALDatasetH
> app.d(7): Error: undefined identifier GDALDatasetH
> app.d(8): Error: undefined identifier GDALAllRegister

Perhaps you also need to include the GDAL headers, as I suspect 
gdalwarper doesn't define GDALDatasetH.


More information about the Digitalmars-d-announce mailing list