[Dcmlib] link error
Mathieu Malaterre
mathieu.malaterre at kitware.com
Tue Nov 2 16:56:45 CET 2004
Bin Li,
It seems you built VTK in static mode (meaning no shared libs), but on
the other hand you built gdcm using shared libs. What mode do you want
to use ?
Also next time, please include system information, compiler...
HTH,
Mathieu
OrNot wrote:
> hi,
> I downloaded the cvs gdcm stuff and
> tried to build them,but failed in the
> vtkgdcmviewer project.Here is the
> errors:
>
>
> --------------------Configuration: vtkgdcmViewer - Win32 Debug--------------------
> Linking...
> vtkgdcmViewer.obj : error LNK2001: unresolved external symbol "public: static class vtkGdcmReader * __cdecl vtkGdcmReader::New(void)" (?New at vtkGdcmReader@@SAPAV1 at XZ)
> D:\VTK\gdcm\bin\Debug/vtkgdcmViewer.exe : fatal error LNK1120: 1 unresolved externals
> Error executing link.exe.
>
> ALL_BUILD - 2 error(s), 0 warning(s)
>
>
>
>
> I think I have correctly set the gdcm.dll and vtkgdcm.dll ,but ....
>
>
> Need your help. Thanks in advance.
>
> Bin Li
>
>
> _______________________________________________
> 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