# Error compiling Unreal 4.1.6 from Windows

**URL:** <https://forums.unrealengine.com/t/error-compiling-unreal-4-1-6-from-windows/62137>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, GitHub, Engine-Source-GitHub\
**Created:** [April 25, 2016, 4:45pm UTC](https://forums.unrealengine.com/t/error-compiling-unreal-4-1-6-from-windows/62137 "2016-04-25T16:45:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_7c950030](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7c950030](https://forums.unrealengine.com/u/anonymous_user_7c950030)\
**Post date:** [April 25, 2016, 4:45pm UTC](https://forums.unrealengine.com/t/error-compiling-unreal-4-1-6-from-windows/62137/1 "2016-04-25T16:45:27Z")

</div>

Hello everyone.

I am trying to compile Unreal 4.6.1 ,but when I executed Setup.bat I found the next error:

E:\UnrealEngineSource\>Setup.bat Checking dependencies (excluding Mac, HTML5, Android)…  
Received 17642/17657 files (2607,2/2608,7mb; 0,01mb/s; 99%)…  
Failed to download ‘[http://cdn.unrealengine.com/dependencies/2369409-8e3ef78261c144639cff509a0b6b4805/8b9dc269d72f7357a9ff4be501cd5836b33d2a3c](http://cdn.unrealengine.com/dependencies/2369409-8e3ef78261c144639cff509a0b6b4805/8b9dc269d72f7357a9ff4be501cd5836b33d2a3c)’ to ‘C:\Users\Venus\AppData\Local\Temp mp8F7A.tmp’: The magic number in GZip header is not correct. Make sure you are passing in a GZip stream. (InvalidDataException)  
Press any key to continue . . .

I tried to run Setup.bat again, but I always have the same issue:

E:\UnrealEngineSource\>Setup.bat  
Checking dependencies (excluding Mac, HTML5, Android)…  
Received 0/15 files (0,1/1,6mb; 0,01mb/s; 0%)…  
Failed to download ‘[http://cdn.unrealengine.com/dependencies/2369409-8e3ef78261c144639cff509a0b6b4805/8b9dc269d72f7357a9ff4be501cd5836b33d2a3c](http://cdn.unrealengine.com/dependencies/2369409-8e3ef78261c144639cff509a0b6b4805/8b9dc269d72f7357a9ff4be501cd5836b33d2a3c)’ to ‘C:\Users\Venus\AppData\Local\Temp mpA943.tmp’: The magic number in GZip header is not correct. Make sure you are passing in a GZip stream. (InvalidDataException)  
Press any key to continue . . .

As you can see only lack to download less than 2 mb, but I always have the same error.

How I can solve it?  
What is the problem?

Thanks before hand!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7c950030](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7c950030](https://forums.unrealengine.com/u/anonymous_user_7c950030)\
**Post date:** [April 27, 2016, 7:49am UTC](https://forums.unrealengine.com/t/error-compiling-unreal-4-1-6-from-windows/62137/2 "2016-04-27T07:49:28Z")

</div>

I am sorry, I wrote bad the version number at the title. I am using Unreal 4.6.1.
