How to generate D binding with SWIG?

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 6 00:34:10 PDT 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/


More information about the Digitalmars-d-learn mailing list