[Insight-users] DicomImageReadWrite error itkgdcm.lib(gdcmUtil.obj) : error LNK2019

ALBERT Aurélien aurelien.albert at alyotech.fr
Wed Aug 4 09:13:47 EDT 2010


You have to link your project with :

snmpapi.lib
rpcrt4.lib
wsock32.lib

These libs are from Windows SDK.




-----Message d'origine-----
De : insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org] De la part de John Drescher
Envoyé : mercredi 4 août 2010 13:47
À : Chanukya Krishna Chama
Cc : insight-users at itk.org
Objet : Re: [Insight-users] DicomImageReadWrite error itkgdcm.lib(gdcmUtil.obj) : error LNK2019

On Wed, Aug 4, 2010 at 6:14 AM, Chanukya Krishna Chama
<chanukya_chess at yahoo.co.in> wrote:
> I'm using ITK 3.20 & Visual Studio 2010 along with cmake to run sample
> DicomImageReadWrite example program in ITK folder.
>
> After including all the *.lib files in ITK\lib\  in Input of Linker in
> visual studio, i'm getting the below error while debugging
>
> itkgdcm.lib(gdcmUtil.obj) : error LNK2019: unresolved external symbol
> _SnmpUtilVarBindFree at 4 referenced in function "int __cdecl
> gdcm::GetMacAddrSys(unsigned char *)" (?GetMacAddrSys at gdcm@@YAHPAE at Z)
>
> How to remove this error ?
>

I would start by generating your visual studio projects using CMake.
After you become an expert at that then you can use itk the hard way.

John
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list