hi,
i get the following error:
ofstd.lib(ofstd.obj) error: LNK2019: unresolved external symbol NetWkstaUserGetInfo referenced in function “public: static class OFString __cdecl OFStandard::getUserName(void)” (?getUserName@OFStandard@@SA?AVOFString@@XZ) File not found: ofstd.lib (ofstd.obj)
i’m using dcmtk version 3.6.4 and itk 4.13.2.
i used cmake to compile them as static libs (not shared).
@eninyo: This patch should solve your problem. A dependency was missing and was added in the patch. If you have this error while building ITK, you can solve it by applying the patch I mention above. If you are having this error while compiling an application that is based on ITK/DCMTK, you might be able to work around this issue by adding the missing dependencies directly in your application. The missing dependencies on Windows are: iphlpapi ws2_32 netapi32 wsock32