couldn't find "netapi32" and "wsock32" libraries

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
manoz
Posts: 3
Joined: Wed, 2010-03-31, 14:11

couldn't find "netapi32" and "wsock32" libraries

#1 Post by manoz »

I have downloaded DCMTK 3.5.4.
After building it using cmake, still i was not able to find the "netapi32" and "wsock32" libraries... in which folder can i get them or by doing what?

I am getting the following error..
===================
>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
1>dcmdata.lib(dcuid.obj) : error LNK2019: unresolved external symbol _WSACleanup@0 referenced in function "long __cdecl gethostid(void)" (?gethostid@@YAJXZ)
1>dcmdata.lib(dcuid.obj) : error LNK2019: unresolved external symbol _gethostbyname@4 referenced in function "long __cdecl gethostid(void)" (?gethostid@@YAJXZ)
1>dcmdata.lib(dcuid.obj) : error LNK2019: unresolved external symbol _gethostname@8 referenced in function "long __cdecl gethostid(void)" (?gethostid@@YAJXZ)
1>dcmdata.lib(dcuid.obj) : error LNK2019: unresolved external symbol _WSAStartup@8 referenced in function "long __cdecl gethostid(void)" (?gethostid@@YAJXZ)
1>dcmdata.lib(dcuid.obj) : error LNK2019: unresolved external symbol _Netbios@4 referenced in function "unsigned char * __cdecl getMACAddress(unsigned char * const)" (?getMACAddress@@YAPAEQAE@Z)
1>..\..\..\..\bin\nt_i386_vc90d\hio_plugins\hio_dcm\hiodcm1801d.hio : fatal error LNK1120: 5 unresolved externals
============================
i also followed the FAQ_27, still nt able to resolve...
Replies appreciated...

manoz
Posts: 3
Joined: Wed, 2010-03-31, 14:11

#2 Post by manoz »

RESOLVED!

trisch
Posts: 6
Joined: Mon, 2010-05-31, 18:06

#3 Post by trisch »

Hi manoz,

could you tell me what have you done to solve this problem?

I have the same errors, but still hadn't found where is problem

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest