Thread overview
How to generate D binding with SWIG?
Apr 06, 2015
Suliman
Apr 06, 2015
Jeremy DeHaan
Apr 06, 2015
ddos
Apr 06, 2015
Suliman
April 06, 2015
I am still trying to get GDAL[1] work with D. I found tool for automatic binding generation it's named SWIG[2].

I looked at gdal binding examples, and look like all of them are automatically generated with SWIG. I am not sure, but possible binding is generation by one few lines, like is binding for C#.
makefile.vs:

....
csharp: gdalvars
        cd csharp
        $(MAKE) /f makefile.vc interface
        $(MAKE) /f makefile.vc
....

Could anybody help to help me to do шею I have not enough knowledge to understand what I should to do.

If anybody can generate it's for me I would very pleased for it. Because gdal is very needed lib for geoinformaic tasks.

[1] http://trac.osgeo.org/gdal/wiki/DownloadSource
[2] http://www.swig.org/
April 06, 2015
Do you even need to use swig? It looks like gdal has  a C interface. I think that htod would be what you're looking for

http://dlang.org/htod.html

April 06, 2015
On Monday, 6 April 2015 at 15:46:32 UTC, Jeremy DeHaan wrote:
> Do you even need to use swig? It looks like gdal has  a C interface. I think that htod would be what you're looking for
>
> http://dlang.org/htod.html

+1 for htod if there is a c interface!
April 06, 2015
some time ago I tried it, but without success
http://forum.dlang.org/thread/hnlrhschfgumaxzgizma@forum.dlang.org