Get HMD plugin to work on mobile devices!

Hi. Trying to make Simple HMD working on android and ios(in perspective).
Not Google VR because it’s restricted to minimum android5 and has no ios support.
I get one issue with simpleHMD - borders around each eye, like distortion compensation is not being applied.
I tried Nival Cardboard plugin, based on Simple HMD, but it won’t compile.
Although i’ve managed to fix some errors in it(though i’m not a C++ programmer), maybe somebody can help me to fix other errors?
Here’s the plug-in

I’ve replaced UE4Cardboard.Build.cs lines from

Path.GetDirectoryName( RulesCompiler.GetModuleFilename(“Renderer”))+"/Private",

to

“…/…/…/…/Source/Runtime/Renderer/Private”,

Now this error is gone, but it can’t find include files and i don’t know the syntax to provide the correct path to them, instead of copying them one by one and the “override” error:

UECardboard.h(43): error C3668: ‘FUECardboard::OnScreenModeChange’: method with override specifier ‘override’ did not override any base class methods

UECardboard.cpp(5): fatal error C1083: Cannot open include file: ‘RendererPrivate.h’: No such file or directory

Can someone hepl please?

I’ve contacted guys from Nival, but i think maybe it would be faster to fix the problem ourself.

Ok, i get Nival plugin to work on 4.11.2 engine version. It’s time to do some testing.