[Gdal-dev] SWIG C# dependencies on Windows

Tamas Szekeres szekerest at gmail.com
Wed Mar 7 17:05:01 EST 2007


I consider this problem might require the need of removing the /debug
options when compiling the gdal core and the SWIG C# libraries (in
gdal/makefile.vc and csharp/makefile.vc). In addition /Zi should be
replaced with /Ox in nmake.opt for an optimized build.

Currently we have no sophisticated support to switch between the debug
and opimized configurations easily, so these modifications should be
done one by one.

Best regards,


2007/3/7, Richard Matsunaga <richard.matsunaga at waypointinfo.com>:
> I struggled with a dependency problem with the SWIG C# wrappers on our build
> server. Unit tests would fail due to a TypeInitializationException in
> gdal_wrap.dll.
> After playing with Filemon and Dependency Walker without limited success, it
> turns out that I needed to install the Visual C++ redistributable package on
> the server. The server does not have Visual Studio installed.
> Since we already had the hand-rolled GDAL C# wrapper running successfully on
> the server, what extra dependencies have been introduced with the SWIG
> wrapper to make the redist necessary?
> Thanks,
> Richard
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev

More information about the Gdal-dev mailing list