# D:\\ITK5.3\\release\\bin\\ITKCommon-5.3.dll”。Module generated without symbols

**URL:** https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803
**Category:** Engineering
**Tags:** cmake
**Created:** [March 14, 2023, 12:37pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803 "2023-03-14T12:37:23Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ma1282029525](https://discourse.itk.org/user_avatar/discourse.itk.org/ma1282029525/32/3084_2.png) [@ma1282029525](https://discourse.itk.org/u/ma1282029525)
#### Post date: [March 14, 2023, 12:37pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803/1 "2023-03-14T12:37:23Z")

</div>

Why is there no debug symbol in the debug library I compiled?

---

<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: [March 14, 2023, 1:51pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803/2 "2023-03-14T13:51:04Z")

</div>

Because you selected `Release` build configuration. If you want debug symbols, use `Debug` or `RelWithDebInfo` CMake configurations.

---

<div class="post-metadata">

### Author: ![ma1282029525](https://discourse.itk.org/user_avatar/discourse.itk.org/ma1282029525/32/3084_2.png) [@ma1282029525](https://discourse.itk.org/u/ma1282029525)
#### Post date: [March 14, 2023, 2:14pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803/3 "2023-03-14T14:14:28Z")

</div>

I selected is Debug ,it don not have debug symbols?

---

<div class="post-metadata">

### Author: ![ma1282029525](https://discourse.itk.org/user_avatar/discourse.itk.org/ma1282029525/32/3084_2.png) [@ma1282029525](https://discourse.itk.org/u/ma1282029525)
#### Post date: [March 14, 2023, 2:22pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803/4 "2023-03-14T14:22:40Z")

</div>

and my release lib is normal ,but debug can not read dicom serics image ,and have not debug 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: [March 14, 2023, 2:27pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803/5 "2023-03-14T14:27:45Z")

</div>

Can you share your CMakeCache.txt from `D:\ITK5.3\release` folder?

---

<div class="post-metadata">

### Author: ![ma1282029525](https://discourse.itk.org/user_avatar/discourse.itk.org/ma1282029525/32/3084_2.png) [@ma1282029525](https://discourse.itk.org/u/ma1282029525)
#### Post date: [March 14, 2023, 2:30pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803/6 "2023-03-14T14:30:07Z")

</div>

[CMakeCache.txt](https://discourse.itk.org/uploads/short-url/4DnEP09g45B7PHF8wGqxfI3MizF.txt) (207.7 KB)  
it is at D:\ITK5.3\Build

---

<div class="post-metadata">

### Author: ![ma1282029525](https://discourse.itk.org/user_avatar/discourse.itk.org/ma1282029525/32/3084_2.png) [@ma1282029525](https://discourse.itk.org/u/ma1282029525)
#### Post date: [March 14, 2023, 2:31pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803/7 "2023-03-14T14:31:50Z")

</div>

The process I build is to compile the source code into the build folder with cmake, and then use vs2022 to compile the debug version and release version respectively

---

<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: [March 14, 2023, 2:33pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803/8 "2023-03-14T14:33:47Z")

</div>

And this should generate the files in `d:/ITK5.3/build/bin/Release/ITKCommon-5.3.dll` and `d:/ITK5.3/build/bin/Debug/ITKCommon-5.3.dll`, **not** `d:/ITK5.3/relese/bin/ITKCommon-5.3.dll`. You seem to be looking at the wrong files.

---

<div class="post-metadata">

### Author: ![ma1282029525](https://discourse.itk.org/user_avatar/discourse.itk.org/ma1282029525/32/3084_2.png) [@ma1282029525](https://discourse.itk.org/u/ma1282029525)
#### Post date: [March 14, 2023, 2:48pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803/9 "2023-03-14T14:48:22Z")

</div>

You are right. I didn’t find that I have been loading the wrong dll.Thank you very much.
