DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sat, 2018-01-20, 06:05

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon, 2017-09-04, 11:31 
Offline

Joined: Mon, 2016-12-05, 10:51
Posts: 4
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


Top
 Profile  
 
PostPosted: Mon, 2017-09-04, 11:48 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1661
Location: Oldenburg, Germany
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


Top
 Profile  
 
PostPosted: Tue, 2017-09-05, 03:47 
Offline

Joined: Mon, 2016-12-05, 10:51
Posts: 4
Thanks!

I lost iphlpapi.lib.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group