[Gdal-dev] Build csharp swig (from real newbie)

Tamas Szekeres szekerest at gmail.com
Mon Dec 4 16:49:04 EST 2006


2006/12/4, Alan <alankeown at southernphone.com.au>:
> Howard & Tamas,
> I changed the line
>
>     link /dll /debug $(OGR_INCLUDE) $(BASE_INCLUDE) ogr_wrap.obj \
>                 $(EXTERNAL_LIBS) ..\..\gdal.lib\
>                  /out:gdal_ogr_wrap.dll $(LINKER_FLAGS)
> To
>
>     link /dll /debug $(OGR_INCLUDE) $(BASE_INCLUDE) ogr_wrap.obj \
>                 $(EXTERNAL_LIBS) ..\..\gdal_i.lib\
>                  /out:gdal_ogr_wrap.dll $(LINKER_FLAGS)
>
> In swig/csharp/makefile.vc and nmake ran without error.
>

I've just changed the necessary files in the CVS for supporting the
dynamic linking to the gdal dll. You should use the csharp.opt to set
up the desired meth



More information about the Gdal-dev mailing list