Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 06, 2015 How to generate D binding with SWIG? | ||||
---|---|---|---|---|
| ||||
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 Re: How to generate D binding with SWIG? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | 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 Re: How to generate D binding with SWIG? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeremy DeHaan | 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 Re: How to generate D binding with SWIG? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ddos | some time ago I tried it, but without success http://forum.dlang.org/thread/hnlrhschfgumaxzgizma@forum.dlang.org |
Copyright © 1999-2021 by the D Language Foundation