|
From: Mathieu M. <ma...@de...> - 2014-10-29 08:14:43
|
Dear all, I am the maintainer of the GDCM package. It currently uses SWIG to generate its C# API. Some users recently reported that GDCM now fails to build using recent SWIG 3.x release (SWIG 2.x were fine). The error is: TagSetType.cs(11,27): error CS0246: The type or namespace name `IDisposable' could not be found. Are you missing `System' using directive? Where: [...] $ head -12 ./Wrapping/Csharp/TagSetType.cs /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.2 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ namespace gdcm { public class TagSetType : IDisposable #if SWIG_DOTNET_3 [...] My question is: - Should I add the missing `using System` using swig macros ? - Is there a documentation for migrating from swig 2.x to swig 3.x ? Thanks much, ref: https://github.com/malaterre/GDCM/issues/10 |