[Insight-users] Linking ITK 2.4.1 to an application and GDCM related errors

Stefan Wesarg stefan.wesarg at igd.fraunhofer.de
Thu Feb 9 08:38:22 EST 2006


Hello,

We have our own application that uses ITK functionality. Currently we 
are upgrading the ITK part from 2.0.1 to 2.4.1. Up to now everything 
worked fine with the old 2.0.1 version. Linking against the new 2.4.1 
libraries results in an unresolved external linker error related to the 
GDCM library:
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _SnmpUtilVarBindFree at 4
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _SnmpUtilOidNCmp at 12
> itkgdcm.lib(gdcmUtil.obj) : error LNK2001: unresolved external symbol 
> _SnmpUtilOidCpy at 8

However, we are not using GDCM explicitely. All stuff that is DICOM 
related and that we are using is related to these classes:
> #include <itkDICOMSeriesFileNames.h>
> #include <itkDICOMImageIO.h>
> #include <itkDICOMImageIO2.h>

Can anybody give me some hints what the problem could be? How GDCM comes 
into play if we do not use that functionality?

Our configuration:
OS: Win XP, Prof.
Compiler: Visual C++ 6
other toolkits used: VTK 4.4 and wxWidgets 2.4.2

Thanks for your help!
Stefan

-- 
---------------------------------------------------------------------
Dipl.-Phys. Stefan Wesarg

Fraunhofer Institute for Computer Graphics
Cognitive Computing and Medical Imaging (A7)
Fraunhoferstr. 5, 64283 Darmstadt, Germany
---------------------------------------------------------------------
email:	stefan.wesarg at igd.fraunhofer.de
http://a7www.igd.fhg.de/persons/swesarg/swesarg.html

phone:	+49 6151 - 155 511
fax:	+49 6151 - 155 480
---------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3750 bytes
Desc: S/MIME Cryptographic Signature
Url : http://public.kitware.com/pipermail/insight-users/attachments/20060209/89ee0361/smime.bin


More information about the Insight-users mailing list