x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Compile error with latest 4.4 branch from github

I did a fresh build from the 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: The 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 the libovr64.lib file to be in LibOVR_04. I reverted this commit and was able to compile. I tried moving the libovr64.lib file included in the required dependencies zip to the right place, but it is probably the wrong version as I had build errors with that as well.

Product Version: Not Selected
Tags:
more ▼

asked Aug 19 '14 at 07:41 AM in C++ Programming

avatar image

knamil
21 1 2 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first

With master as of September 2nd, 2014 LibOVR_04/Lib has been moved again. If you copy the Lib folder over to:

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

Then master will link.

  • The 4.4.1 version was here: UnrealEngine\Engine\Source\ThirdParty\Oculus\LibOVR_04\Lib

  • I think the 4.4.0 version was here: UnrealEngine\Engine\Source\ThirdParty\Oculus\LibOVR\Lib

more ▼

answered Sep 03 '14 at 05:22 PM

avatar image

smilingrob
570 19 31 49

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

You can get a zip from the Oculus website that has the necessary files: http://static.oculusvr.com/sdk-downloads/ovr_ue4_4.4_github_prereq_0.4.1a.zip

more ▼

answered Aug 20 '14 at 03:19 PM

avatar image

jmcginnis_ccpgames
86 3 19 20

avatar image knamil Aug 20 '14 at 05:00 PM

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

avatar image DrHobo Aug 20 '14 at 10:10 PM

Ditto. Worked for me too.

avatar image Digital08 Aug 30 '14 at 03:28 PM

This worked for me as well. Thanks for the info!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey kabeone,

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

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

more ▼

answered Aug 19 '14 at 06:10 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I took this folder:

alt text

And pasted it into this folder:

alt text

Selected UE4 and "Build" and it worked.

more ▼

answered Sep 05 '14 at 02:15 AM

avatar image

Thomas Ingham
326 16 24 34

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question