I’m having trouble compiling the 4.4 source. I followed the instructions (https://github.com/EpicGames/UnrealEngine) and every time I try to compile it gets stuck on the EU4Editor-OculusRift.dll. I don’t know if it matters, but I don’t have an Oculus Rift or any drivers/software for it installed. Does anyone have any insight as to what I’m doing wrong?
My environment:
Windows 7 64bit
Visual Studio 2013 Express for Windows Desktop
Error 3 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
Error 1 error LNK1181: cannot open input file 'libovr64.lib' D:\GitHub\UnrealEngine\Engine\Intermediate\ProjectFiles\LINK UE4
Error 2 error : Failed to produce item: D:\GitHub\UnrealEngine\Engine\Plugins\OculusRift\Binaries\Win64\UE4Editor-OculusRift.dll D:\GitHub\UnrealEngine\Engine\Intermediate\ProjectFiles\ERROR UE4
The Latest Main Branch was updated to support 0.4.1 SDK of Oculus Rift. None of the dependent files get pushed to the Git which is why we have the Required and Optional.zip files which is where this would be at. Those files have not been updated since the SDK update went into the Main Branch.
Right now there are 2 way to fix it easily if you want to build a current branch.
1.) Download the 0.4.1 SDK from oculus, build out the .lib files or copy them from the included SDK, and then put it in the correct spot in the source then build. Mine was \Engine\Source\ThirdParty\Oculus\LibOVR_04\Lib\x64\VS2013 for example.
2.) Update your launcher version to the 4.4.1 preview (see the news section for how) and then get the compiled file from there and then put it in the same correct spot for your main branch source and build.