# link error (LNK2019)

**URL:** <https://discourse.itk.org/t/link-error-lnk2019/1865>\
**Category:** Engineering\
**Created:** [May 13, 2019, 6:56am UTC](https://discourse.itk.org/t/link-error-lnk2019/1865 "2019-05-13T06:56:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![fbudin](https://discourse.itk.org/user_avatar/discourse.itk.org/fbudin/32/14_2.png) [@fbudin](https://discourse.itk.org/u/fbudin)\
**Post date:** [May 14, 2019, 5:06pm UTC](https://discourse.itk.org/t/link-error-lnk2019/1865/3 "2019-05-14T17:06:21Z")

</div>

@eninyo: [This patch](https://github.com/InsightSoftwareConsortium/ITK/commit/1b18eacaab33c798b75cda57b0eeaa9e028c7141) 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

---

_[View the full topic](https://discourse.itk.org/t/link-error-lnk2019/1865)._
