DCMTK3.6.0 upgrade to DCMTK3.6.2

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Emma_cao
Posts: 13
Joined: Mon, 2016-12-05, 10:51

DCMTK3.6.0 upgrade to DCMTK3.6.2

#1 Post by Emma_cao »

Dear all:
I need upgrade DCMTK from 3.6.0 to 3.6.2.
After compiling and getting the static libaray, my solution has following error. I already checked all the Installation questions, but still didn't konw how to solve it.

Looking forward to your reply!
Thanks!

1>dcmdata.lib(dcuid.obj) : error LNK2019: unresolved external symbol GetAdaptersInfo referenced in function "struct _IP_ADAPTER_INFO * __cdecl getMACAddresses(class OFVector<unsigned char> &)" (?getMACAddresses@@YAPEAU_IP_ADAPTER_INFO@@AEAV?$OFVector@E@@@Z)

My compiling environment is:
win7 64bits + cmake-3.9.1-win32-x86

Cmake setting:
BULID_SHARED_LIB OFF
SCMTK_OVERWRITE_WIN32_COMPILER_FLAGS OFF

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: DCMTK3.6.0 upgrade to DCMTK3.6.2

#2 Post by Michael Onken »

Hi,

but DCMTK itself builds, right?

In your project, make sure to link against to the libs iphlpapi, ws2_32, netapi32 and wsock32.

Best,
Michael

Emma_cao
Posts: 13
Joined: Mon, 2016-12-05, 10:51

Re: DCMTK3.6.0 upgrade to DCMTK3.6.2

#3 Post by Emma_cao »

Thanks!

I lost iphlpapi.lib.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest