[Insight-users] dllimport error gdcm under visual studio...

Mathieu Malaterre mathieu.malaterre at gmail.com
Sun Feb 7 16:08:58 EST 2010


Hi Luis,

On Sat, Feb 6, 2010 at 6:27 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> Hi Neil,
>
> Thanks for letting us about the work around that you found.
>
> Removing GDCM_EXPORT shouldn't be necessary...  but....
>
> looking at the change logs of gdcm it seems that similar
> problems have been found before in the gdcm::DirList
> class.
>
> The commit log points to:
>
>                http://support.microsoft.com/kb/q168958/
>
>       I'm copying the GDCM developers list.
>
>       They may have words of wisdom for us...    :-)

My feeling is that this is a mix of compiling GDCM in static and
shared. One way to check would be for the OP to add another GDCM class
in the function and check that similar linker errors occurs.

Cheers
-- 
Mathieu


More information about the Insight-users mailing list