# Build Slicer failed on win10

**URL:** <https://discourse.slicer.org/t/build-slicer-failed-on-win10/15674>\
**Category:** Development\
**Tags:** build\
**Created:** [January 26, 2021, 8:24am UTC](https://discourse.slicer.org/t/build-slicer-failed-on-win10/15674 "2021-01-26T08:24:10Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 29, 2021, 5:32am UTC](https://discourse.slicer.org/t/build-slicer-failed-on-win10/15674/6 "2021-01-29T05:32:24Z")

</div>

Probably the issue is that your system code page is set to 950 (Traditional Chinese) and c:\S4R\LibArchive\libarchive\archive\_read\_support\_format\_rar5.c contains characters that cannot be interpreted in this code page.

The simplest is to remove the offending characters (remove entire line 74, it is just a comment):

```
 * "Rar!→•☺·\x00"

```

If you will keep running into similar errors then you may consider switching to Latin1 code page for the build.

---

_[View the full topic](https://discourse.slicer.org/t/build-slicer-failed-on-win10/15674)._
