[gdal-dev] problem compiling C#

Richard Matsunaga richard at waypointinfo.com
Wed Dec 19 12:38:59 EST 2007


After compiling the 1.5 RC of GDAL, I cannot build the C# bindings. I had to
make the same change as Ivan suggested for compiling on VC71, not sure if
that is related.
 
Richard
 
 
>nmake /f makefile.vc interface
 
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.
 
        cd const
        C:\Code\swig\swigwin-1.3.31\swig.exe -csharp -namespace OSGeo.GDAL
-dllimport gdalconst_wrap
 -o gdalconst_wrap.c ../../include/gdalconst.i
        cd ..
        cd gdal
        C:\Code\swig\swigwin-1.3.31\swig.exe -c++ -csharp -namespace
OSGeo.GDAL  -dllimport gdal_wra
p -I../../include/csharp -o gdal_wrap.cpp ../../include/gdal.i
        cd ..
        cd osr
        C:\Code\swig\swigwin-1.3.31\swig.exe -c++ -csharp -namespace
OSGeo.OSR  -dllimport osr_wrap
-I../../include/csharp -o osr_wrap.cpp ../../include/osr.i
..\..\include\osr.i(220): Warning(453): Can't apply (char **CSL). No
typemaps are defined.
..\..\include\osr.i(225): Warning(453): Can't apply (char **CSL). No
typemaps are defined.
        cd ..
        cd ogr
        C:\Code\swig\swigwin-1.3.31\swig.exe -c++ -csharp -namespace
OSGeo.OGR  -dllimport osr_wrap
-I../../include/csharp -o osr_wrap.cpp ../../include/osr.i
..\..\include\osr.i(220): Warning(453): Can't apply (char **CSL). No
typemaps are defined.
..\..\include\osr.i(225): Warning(453): Can't apply (char **CSL). No
typemaps are defined.
        C:\Code\swig\swigwin-1.3.31\swig.exe -c++ -csharp -namespace
OSGeo.OGR -dllimport ogr_wrap -
I../../include/csharp -o ogr_wrap.cpp ../../include/ogr.i
..\..\include\osr.i(220): Warning(453): Can't apply (char **CSL). No
typemaps are defined.
..\..\include\osr.i(225): Warning(453): Can't apply (char **CSL). No
typemaps are defined.
        cd ..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20071219/11e1ff2a/attachment.html


More information about the gdal-dev mailing list