[Dcmlib] gdcm(python) build error on Windows
Jean-Pierre Roux
Jean-Pierre.Roux at creatis.insa-lyon.fr
Tue Jun 26 15:49:03 CEST 2007
> 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?
Hi, Charl,
I don't use Windows, but I tried to build gdcm on a student's PC.
(Windows XP, .Net compiler, Python 2.4, cmake 2.4.6, swig 1.3.20)
I get a lot of very unpleasant stuff :
-> GDCM_VTK : off
-> GDCM_WRAP_PYTON : on
Release : no error
Debug : 'Cannot open python24_d.lib'
(Probabely a python install pb)
-> GDCM_VTK : on
-> GDCM_WRAP_PYTON : on
Release *and* Debug : "Cannot generate vigGdcmWriter.cxx"
Doesn't sound too good !
I'm gonna try to find some XP guru in the Lab.
Jean-Pierre Roux
>
> Thanks,
> Charl
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>
More information about the Dcmlib
mailing list