# 4.1 github release prereqs

**URL:** <https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152>\
**Category:** C++\
**Tags:** unreal-engine, GitHub\
**Created:** [April 24, 2014, 3:27am UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152 "2014-04-24T03:27:34Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![Ixiguis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ixiguis](https://forums.unrealengine.com/u/Ixiguis)\
**Post date:** [April 30, 2014, 9:09pm UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/21 "2014-04-30T21:09:01Z")

</div>

Ah, I understand now. My error was that I was always updating to the HEAD revision. Thanks for the explanation!

---

<div class="post-metadata">

**Author:** ![Dark-Veil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dark-Veil](https://forums.unrealengine.com/u/Dark-Veil)\
**Post date:** [May 1, 2014, 9:08pm UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/22 "2014-05-01T21:08:18Z")

</div>

We just updated the latest ‘Preview Release’ on GitHub with with full dependencies for the ‘latest-preview’ tag in master branch up-to-date as of yesterday (our latest QA smoke tested build). [https://github.com/EpicGames/UnrealEngine/releases/tag/latest-preview](https://github.com/EpicGames/UnrealEngine/releases/tag/latest-preview)

–Mike

---

<div class="post-metadata">

**Author:** ![Ad3ViLl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ad3ViLl](https://forums.unrealengine.com/u/Ad3ViLl)\
**Post date:** [May 2, 2014, 3:43am UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/23 "2014-05-02T03:43:59Z")

</div>

Great thanks Mike. I’m already seeing some nice new “toys” in the preview code 😉

---

<div class="post-metadata">

**Author:** ![Eylisia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eylisia](https://forums.unrealengine.com/u/Eylisia)\
**Post date:** [May 2, 2014, 10:29am UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/24 "2014-05-02T10:29:04Z")

</div>

Latest preview not comiling!

> [@](#):
>
> Error 1 error C2146: syntax error : missing ‘;’ before identifier ‘glBufferStorage’ g:\unrealengine-latest-preview\engine\source\runtime\opengldrv\private\Windows\OpenGLWindows.h 356 1 UE4  
> Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int g:\unrealengine-latest-preview\engine\source\runtime\opengldrv\private\Windows\OpenGLWindows.h 356 1 UE4  
> Error 3 error C2064: term does not evaluate to a function taking 4 arguments g:\unrealengine-latest-preview\engine\source\runtime\opengldrv\private\Windows\OpenGLWindows.h 467 1 UE4  
> Error 4 error C1083: Cannot open include file: ‘nvapi.h’: No such file or directory G:\UnrealEngine-latest-preview\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Commands.cpp 20 1 UE4  
> Error 5 error C2146: syntax error : missing ‘;’ before identifier ‘glBufferStorage’ g:\unrealengine-latest-preview\engine\source\runtime\opengldrv\private\Windows\OpenGLWindows.h 356 1 UE4  
> Error 6 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int g:\unrealengine-latest-preview\engine\source\runtime\opengldrv\private\Windows\OpenGLWindows.h 356 1 UE4  
> Error 7 error C2146: syntax error : missing ‘;’ before identifier ‘glBufferStorage’ g:\unrealengine-latest-preview\engine\source\runtime\opengldrv\private\Windows\OpenGLWindows.h 356 1 UE4  
> Error 8 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int g:\unrealengine-latest-preview\engine\source\runtime\opengldrv\private\Windows\OpenGLWindows.h 356 1 UE4  
> Error 9 error C2064: term does not evaluate to a function taking 4 arguments g:\unrealengine-latest-preview\engine\source\runtime\opengldrv\private\Windows\OpenGLWindows.h 467 1 UE4  
> Error 10 error C2064: term does not evaluate to a function taking 4 arguments g:\unrealengine-latest-preview\engine\source\runtime\opengldrv\private\Windows\OpenGLWindows.h 467 1 UE4  
> Error 11 error C2146: syntax error : missing ‘;’ before identifier ‘glBufferStorage’ G:\UnrealEngine-latest-preview\Engine\Source\Runtime\OpenGLDrv\Private\Windows\OpenGLWindows.cpp 14 1 UE4  
> Error 12 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int G:\UnrealEngine-latest-preview\Engine\Source\Runtime\OpenGLDrv\Private\Windows\OpenGLWindows.cpp 14 1 UE4  
> Error 13 error C2086: ‘int glBufferStorage’ : redefinition G:\UnrealEngine-latest-preview\Engine\Source\Runtime\OpenGLDrv\Private\Windows\OpenGLWindows.cpp 14 1 UE4  
> Error 14 error C2146: syntax error : missing ‘;’ before identifier ‘wglGetProcAddress’ G:\UnrealEngine-latest-preview\Engine\Source\Runtime\OpenGLDrv\Private\Windows\OpenGLWindows.cpp 738 1 UE4  
> Error 15 error : Failed to produce item: G:\UnrealEngine-latest-preview\Engine\Binaries\Win64\UE4Editor-D3D11RHI.dll G:\UnrealEngine-latest-preview\Engine\Intermediate\ProjectFiles\ERROR UE4  
> Error 16 error MSB3073: The command “…..\Build\BatchFiles\Build.bat UE4Editor Win64 Development” exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 UE4

---

<div class="post-metadata">

**Author:** ![Dark-Veil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dark-Veil](https://forums.unrealengine.com/u/Dark-Veil)\
**Post date:** [May 2, 2014, 12:52pm UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/25 "2014-05-02T12:52:03Z")

</div>

> [@Eylisia;26388](#):
>
> Latest preview not comiling!

Sorry, we cannot reproduce this here yet. I pulled it down just now and Windows compiled fine under Development Editor configuration.

–Mike

---

<div class="post-metadata">

**Author:** ![Eylisia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eylisia](https://forums.unrealengine.com/u/Eylisia)\
**Post date:** [May 2, 2014, 1:42pm UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/26 "2014-05-02T13:42:21Z")

</div>

Thanks for the reply mike. This is strange cause i can compile 4.1.x and 4.0.x fine with Development Editor Settings.

---

<div class="post-metadata">

**Author:** ![Ixiguis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ixiguis](https://forums.unrealengine.com/u/Ixiguis)\
**Post date:** [May 2, 2014, 7:47pm UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/27 "2014-05-02T19:47:09Z")

</div>

Didn’t compile for me too, got the same OpenGL errors as Eylisia. Also:

> [@](#):
>
> Source\Runtime\Windows\D3D11RHI\Private\D3D11Commands.cpp(20): fatal error C1083: Cannot open include file: ‘nvapi.h’: No such file or directory

I also installed the optional dependencies, VS2013 Update 2, and Windows SDK.

I appreciate the effort, though 🙂

---

<div class="post-metadata">

**Author:** ![KRushin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KRushin](https://forums.unrealengine.com/u/KRushin)\
**Post date:** [May 3, 2014, 3:19pm UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/28 "2014-05-03T15:19:03Z")

</div>

compiling from 4.1 is fine. But, I tried compiling last night (latest preview, and then separately from latest source). it wouldn’t compile Development Editor x64. I’ll try it again later tho, see if i missed copying over something

---

<div class="post-metadata">

**Author:** ![mdias](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mdias](https://forums.unrealengine.com/u/mdias)\
**Post date:** [May 3, 2014, 5:05pm UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/29 "2014-05-03T17:05:20Z")

</div>

I had the same OpenGL errors plus not finding the “nvapi.h” file.

The opengl errors were gone when edited the file “Engine\Source\Runtime\OpenGLDrv\Private\Windows\OpenGLWindows.h” to remove references to glBufferStorage and it’s “EnumMacro”.

To fix the nvapi file I commented the #include and edited “Engine\Source\Runtime\Windows\D3D11RHI\D3D11RHI.Build.cs” to not include nvapi lib. And of course I also had to remove the reference to it in FD3D11DynamicRHI::RHIEnableDepthBoundsTest.

---

<div class="post-metadata">

**Author:** ![JohnnyGuitar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohnnyGuitar](https://forums.unrealengine.com/u/JohnnyGuitar)\
**Post date:** [May 5, 2014, 7:06am UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/30 "2014-05-05T07:06:06Z")

</div>

I can confirm that I was getting the same error and that mdias’ fix ended up working.

---

<div class="post-metadata">

**Author:** ![Eylisia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eylisia](https://forums.unrealengine.com/u/Eylisia)\
**Post date:** [May 5, 2014, 9:57pm UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/31 "2014-05-05T21:57:19Z")

</div>

FYI. Latest 4.2 preview compiles without a single error

---

<div class="post-metadata">

**Author:** ![EduCazev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EduCazev](https://forums.unrealengine.com/u/EduCazev)\
**Post date:** [May 9, 2014, 8:02pm UTC](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152/32 "2014-05-09T20:02:06Z")

</div>

4.2 compiled and running,but in the package options only Windows and IOs appears.I’m using windows version.

[Previous page](https://forums.unrealengine.com/t/4-1-github-release-prereqs/3152.md?page=1)
