# Setup.ps1 failures on windows

**URL:** <https://community.easyrpg.org/t/setup-ps1-failures-on-windows/445>\
**Category:** Player\
**Created:** [December 13, 2017, 3:46am UTC](https://community.easyrpg.org/t/setup-ps1-failures-on-windows/445 "2017-12-13T03:46:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew](https://community.easyrpg.org/user_avatar/community.easyrpg.org/andrew/32/200_2.png) [@andrew](https://community.easyrpg.org/u/andrew)\
**Post date:** [December 13, 2017, 3:46am UTC](https://community.easyrpg.org/t/setup-ps1-failures-on-windows/445/1 "2017-12-13T03:46:53Z")

</div>

Hi! Trying to get this compiling on windows but I’m stuck.  
It seems setup.ps1 fails to extract the SDL2\_image and SDL2\_mixer archives.

A full log of the output is here:  
[https://pastebin.com/ZttGYy0v](https://pastebin.com/ZttGYy0v)

Any insight is appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![Ghabry](https://community.easyrpg.org/user_avatar/community.easyrpg.org/ghabry/32/121_2.png) [@Ghabry](https://community.easyrpg.org/u/Ghabry)\
**Post date:** [December 13, 2017, 1:37pm UTC](https://community.easyrpg.org/t/setup-ps1-failures-on-windows/445/2 "2017-12-13T13:37:15Z")

</div>

The tar extract errors can be ignored. They are normal.

The real problem is “File zlib-1.2.8.tar.gz not found”. Which is really strange because our upstream repository uses zlib-1.2.11.

Ensure that you really used the master branch of [https://github.com/EasyRPG/buildscripts](https://github.com/EasyRPG/buildscripts)

---

<div class="post-metadata">

**Author:** ![andrew](https://community.easyrpg.org/user_avatar/community.easyrpg.org/andrew/32/200_2.png) [@andrew](https://community.easyrpg.org/u/andrew)\
**Post date:** [December 14, 2017, 6:22am UTC](https://community.easyrpg.org/t/setup-ps1-failures-on-windows/445/3 "2017-12-14T06:22:14Z")

</div>

Thanks for your help. A re-pull got me on track. I still got the archive out of range but sounds like that’s not an issue?

I also had a few additional clarifications. From the documentation:

- liblcf is compiled as part of the Player. Extract/Clone liblcf in the `lib` directory  
To confirm, I clone liblcf from within the Player’s lib folder so I end up with \*_\easyrpg\Player\lib\liblcf\src\*_ right?
- Open `builds/vs2015/Player.sln` in Visual Studio  
I do not have this, but there is an EasyRPG.sln, is this correct?

_Edit_: From above it looks like my assumptions were correct. I’m able to build the x86 sln now. Thanks!

---

<div class="post-metadata">

**Author:** ![Ghabry](https://community.easyrpg.org/user_avatar/community.easyrpg.org/ghabry/32/121_2.png) [@Ghabry](https://community.easyrpg.org/u/Ghabry)\
**Post date:** [December 15, 2017, 10:11am UTC](https://community.easyrpg.org/t/setup-ps1-failures-on-windows/445/4 "2017-12-15T10:11:01Z")

</div>

Thanks for the confirmation that it worked and for the documentation issues.

Though these parts will be gone soon™ because everything is migrated to CMake to reduce maintanance burden (I was the last Windows maintainer and switched to Linux 2 years ago 😃 )

---

<div class="post-metadata">

**Author:** ![andrew](https://community.easyrpg.org/user_avatar/community.easyrpg.org/andrew/32/200_2.png) [@andrew](https://community.easyrpg.org/u/andrew)\
**Post date:** [December 16, 2017, 7:03pm UTC](https://community.easyrpg.org/t/setup-ps1-failures-on-windows/445/5 "2017-12-16T19:03:43Z")

</div>

I’ll have to switch to linux soon. Windows is quite the burden at times. 😃
