[Dcmlib] gdcm(python) build error on Windows

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Jun 27 09:38:23 CEST 2007


Hi Charl,

  Welcome to GDCM ! Well apparently welcome is pretty harsh
  I am trying to compile gdcmPython with swig 1.3.29 on cygwin and
except the char* to const char* conversion everything seems to go
smoothly.

  Let me try the latest version of swig with my VS Express compiler.

BFN
-Mathieu


On 6/26/07, Charl P. Botha <cpbotha at cpbotha.net> wrote:
> Dear GDCM-people,
>
> I'm trying to build GDCM 1.3.1 on Windows XP with Visual Studio .NET
> 2003 (aka VS 7.1), cmake 2.4.6 and swig 1.3.31.  vtkGdcm doesn't
> build, but I'll get back to that later.  For now I'm just trying to
> build gdcmPython.
>
> My build breaks with the following error:
>
> _gdcm error LNK2019: unresolved external symbol "__declspec(dllimport)
> public: class gdcm::DicomDirPrivate * __thiscall
> gdcm::DicomDirSerie::NewPrivate(void)"
> (__imp_?NewPrivate at DicomDirSerie@gdcm@@QAEPAVDicomDirPrivate at 2@XZ)
> referenced in function __wrap_DicomDirSerie_NewPrivate
>
> on the file _gdcm.
>
> Where should I start looking?
>
> Thanks,
> Charl
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>


-- 
Mathieu



More information about the Dcmlib mailing list