# Compile error with latest 4.4 branch from github

**URL:** <https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [August 19, 2014, 7:41am UTC](https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397 "2014-08-19T07:41:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![knamil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@knamil](https://forums.unrealengine.com/u/knamil)\
**Post date:** [August 19, 2014, 7:41am UTC](https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397/1 "2014-08-19T07:41:33Z")

</div>

I did a fresh build from latest 4.4 branch and got these errors.

```
error LNK1181: cannot open input file 'libovr64.lib'  
error : Failed to produce item: ~\UnrealEngine\Engine\Plugins\OculusRift\Binaries\Win64\UE4Editor-OculusRift-Win64-Debug.dll 
error MSB3073: command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Debug" exited with code -1. 

```

I tracked it down to a change in LibOVR.build.cs . It expects libovr64.lib file to be in LibOVR\_04. I reverted this [commit](https://github.com/EpicGames/UnrealEngine/commit/118bb4c41356326ba69acf8a1f765cc1522a2128) and was able to compile. I tried moving libovr64.lib file included in required dependencies to right place, but it is probably wrong version as I had build errors with that as well.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [August 19, 2014, 6:10pm UTC](https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397/2 "2014-08-19T18:10:26Z")

</div>

Hey kabeone,

I tried this with latest 4.4 on GitHub and got same error. There were some changes made yesterday and we believe dependencies may not have been updated yet. While we work on fixing this, you can get 4.4 here, which does not include changes made: [https://github.com/EpicGames/UnrealEngine/releases/tag/4.4.0-release](https://github.com/EpicGames/UnrealEngine/releases/tag/4.4.0-release)

I will let you know when we see latest 4.4 working. Thanks for report. Hope this helps!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8f9acc69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8f9acc69](https://forums.unrealengine.com/u/anonymous_user_8f9acc69)\
**Post date:** [August 20, 2014, 3:19pm UTC](https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397/3 "2014-08-20T15:19:40Z")

</div>

I had same problem. It appears to be that `..\Thirdparty\Oculus\LibOVR_04\Lib` is not included in pre-req files.

You can get a from Oculus website that has necessary files: [OK | Oculus](http://static.oculusvr.com/sdk-downloads/ovr_ue4_4.4_github_prereq_0.4.1a).

---

<div class="post-metadata">

**Author:** ![knamil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@knamil](https://forums.unrealengine.com/u/knamil)\
**Post date:** [August 20, 2014, 5:00pm UTC](https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397/4 "2014-08-20T17:00:23Z")

</div>

Thanks for link! I did realize I was missing a prereq but I wasn’t sure where to get right Oculus lib.

---

<div class="post-metadata">

**Author:** ![DrHobo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrHobo](https://forums.unrealengine.com/u/DrHobo)\
**Post date:** [August 20, 2014, 10:10pm UTC](https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397/5 "2014-08-20T22:10:59Z")

</div>

Ditto. Worked for me too.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e5cee41a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e5cee41a1](https://forums.unrealengine.com/u/anonymous_user_e5cee41a1)\
**Post date:** [August 30, 2014, 3:28pm UTC](https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397/6 "2014-08-30T15:28:40Z")

</div>

This worked for me as well. Thanks for info!

---

<div class="post-metadata">

**Author:** ![smilingrob](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/smilingrob/32/947302_2.png) [@smilingrob](https://forums.unrealengine.com/u/smilingrob)\
**Post date:** [September 3, 2014, 5:22pm UTC](https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397/7 "2014-09-03T17:22:04Z")

</div>

With `master` as of September 2nd, 2014 LibOVR\_04/Lib has been moved again. If you copy Lib folder over to:

`UnrealEngine\Engine\Source\ThirdParty\Oculus\LibOVR\LibOVR_04\Lib`

Then master will link.

- 4.4.1 version was here: `UnrealEngine\Engine\Source\ThirdParty\Oculus\LibOVR_04\Lib`
- I think 4.4.0 version was here: `UnrealEngine\Engine\Source\ThirdParty\Oculus\LibOVR\Lib`

---

<div class="post-metadata">

**Author:** ![Thomas\_Ingham](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thomas\_Ingham](https://forums.unrealengine.com/u/Thomas_Ingham)\
**Post date:** [September 5, 2014, 2:15am UTC](https://forums.unrealengine.com/t/compile-error-with-latest-4-4-branch-from-github/291397/8 "2014-09-05T02:15:06Z")

</div>

I took this folder:

And pasted it into this folder:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/0/a0017e63ef38bc0c0aa3ac40c3121c16ff71a4c1.jpeg) ](https://i.imgur.com/bvOg9mS.jpg)

Selected UE4 and “Build” and it worked.
