# Multiple errors about SimpleITK, LibArchive, python when I build Slicer

**URL:** https://discourse.slicer.org/t/multiple-errors-about-simpleitk-libarchive-python-when-i-build-slicer/17457
**Category:** Development
**Tags:** build, python
**Created:** [May 4, 2021, 8:55pm UTC](https://discourse.slicer.org/t/multiple-errors-about-simpleitk-libarchive-python-when-i-build-slicer/17457 "2021-05-04T20:55:54Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)
#### Post date: [May 4, 2021, 11:21pm UTC](https://discourse.slicer.org/t/multiple-errors-about-simpleitk-libarchive-python-when-i-build-slicer/17457/2 "2021-05-04T23:21:02Z")

</div>

You previously posted on the following thread. Did the solution provided there solve the issue?

> [@Build Slicer failed on win10](https://discourse.slicer.org/t/build-slicer-failed-on-win10/15674/6):
>
> 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.

I do see in one of the logs you posted that it warns the following:

> warning C4819: The file contains a character that cannot be represented in the current code page (950)

---

_[View the full topic](https://discourse.slicer.org/t/multiple-errors-about-simpleitk-libarchive-python-when-i-build-slicer/17457)._
