# Linker errors building ITK 5.0.1 shared libs with ITKIODCMTK enabled

**URL:** https://discourse.itk.org/t/linker-errors-building-itk-5-0-1-shared-libs-with-itkiodcmtk-enabled/2141
**Category:** Engineering
**Created:** [August 9, 2019, 11:44am UTC](https://discourse.itk.org/t/linker-errors-building-itk-5-0-1-shared-libs-with-itkiodcmtk-enabled/2141 "2019-08-09T11:44:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dyoll](https://discourse.itk.org/user_avatar/discourse.itk.org/dyoll/32/2311_2.png) [@dyoll](https://discourse.itk.org/u/dyoll)
#### Post date: [August 9, 2019, 11:44am UTC](https://discourse.itk.org/t/linker-errors-building-itk-5-0-1-shared-libs-with-itkiodcmtk-enabled/2141/1 "2019-08-09T11:44:58Z")

</div>

When I compile ITK 5.0.1 on Windows (VS 2015 x64, BUILD\_SHARED\_LIBS=ON, Module\_ITKIODCMTK=ON, otherwise default configuration) I get linker errors (see attached log file). I searched for those symbols, but found stuff related to Android/NVIDIA ([here](https://gitlab.incom.co/CM-Shield/android_device_nvidia_shield-common/blob/b992bd5fc1b87992e7e77ad2324b575890632f46/shims/icu_shim.c)).

[\_DebugBuild.log](https://discourse.itk.org/uploads/short-url/a1tCkswIFYonF2KWzTw49nbMSB2.log) (790.3 KB)

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [August 9, 2019, 6:56pm UTC](https://discourse.itk.org/t/linker-errors-building-itk-5-0-1-shared-libs-with-itkiodcmtk-enabled/2141/2 "2019-08-09T18:56:53Z")

</div>

I just did the described build, and it succeeded for me. My build log is here:  
[Output-Build.txt](https://discourse.itk.org/uploads/short-url/5hd7G33FN8w5J9DMGrdAyEIXk2z.txt) (387.6 KB)

I started from a clean build directory (that is, not an incremental build), and used CMake 3.15.2.

---

<div class="post-metadata">

### Author: ![dyoll](https://discourse.itk.org/user_avatar/discourse.itk.org/dyoll/32/2311_2.png) [@dyoll](https://discourse.itk.org/u/dyoll)
#### Post date: [August 16, 2019, 8:18am UTC](https://discourse.itk.org/t/linker-errors-building-itk-5-0-1-shared-libs-with-itkiodcmtk-enabled/2141/3 "2019-08-16T08:18:04Z")

</div>

strange. I repeated the build (always starting from clean build directory), this time with CMake 3.15.2, but still get the missing symbols.

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [August 16, 2019, 2:46pm UTC](https://discourse.itk.org/t/linker-errors-building-itk-5-0-1-shared-libs-with-itkiodcmtk-enabled/2141/4 "2019-08-16T14:46:22Z")

</div>

I did run into an unrelated [issue](https://github.com/InsightSoftwareConsortium/ITKIOMeshSTL/issues/29) while trying to reproduce your problem.
