# Build errors with slicer (error LNK2005)

**URL:** <https://discourse.slicer.org/t/build-errors-with-slicer-error-lnk2005/36956>\
**Category:** Development\
**Tags:** build, itk\
**Created:** [June 22, 2024, 2:21pm UTC](https://discourse.slicer.org/t/build-errors-with-slicer-error-lnk2005/36956 "2024-06-22T14:21:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![slicer365](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/slicer365/32/67549_2.png) [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Post date:** [June 22, 2024, 2:21pm UTC](https://discourse.slicer.org/t/build-errors-with-slicer-error-lnk2005/36956/1 "2024-06-22T14:21:11Z")

</div>

Dear friends,

This issue has troubled me for a long time. I have upgraded to different versions of Slicer(5.6,main) and also switched between different versions of Visual Studio, but the problem persists. Does anyone have any solutions for this?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/a/bad7676994eaacdf711ec774e8760d99a52bb352.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/7/076f57fef3c3c5f9391da5f6b53f0a76e82f5843.png)

---

<div class="post-metadata">

**Author:** ![slicer365](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/slicer365/32/67549_2.png) [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Post date:** [June 22, 2024, 2:25pm UTC](https://discourse.slicer.org/t/build-errors-with-slicer-error-lnk2005/36956/2 "2024-06-22T14:25:25Z")

</div>

I am not sure if there is an issue with the source code itself.
