I am trying to package my game for Android. What I mean with VR-Flat-Hybrid is, that the game can be played on a flat smartphone screen and with an HMD, like the HTC Vive. So I need to include things like SteamVRChaperone, which are not available for Android.
I had a different Error first. It was something along the lines of: “did not find SteamVRChaperoneComponent.generated.h”.
I fixed that by adding “#if PLATFORM_WINDOWS” everywhere where I was using SteamVRChaperoneComponent or VRNotificationsComponent. But I want to support Playstation VR as well. Can I use “#if PLATFORM_WINDOWS || PLATFORM_PLAYSTATION” instead?
Now I get the Error below. I am guessing it occurs because I always add “SteamVR”, “SteamVRController”, “HeadMountedDisplay” to the PrivateDependencyModuleNames in MyProject.Build.cs. So how do I check if I am compiling for a SteamVR compatible system? Or at least where can I find information about the “UEBuildConfiguration”?
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: Performing 1 actions (4 in parallel)
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: [1/1] clang++.exe RobotDefenseCPP-armv7-es2.so
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: clang++.exe: error: no such file or directory: 'C:/Program Files (x86)/Epic Games/4.12/Engine/Plugins/Runtime/Steam/SteamVR/Binaries/Android/UE4-SteamVR-armv7-es2.a'
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: clang++.exe: error: no such file or directory: 'C:/Program Files (x86)/Epic Games/4.12/Engine/Plugins/Runtime/Steam/SteamVR/Binaries/Android/UE4-SteamVRController-armv7-es2.a'
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: clang++.exe: error: no such file or directory: 'C:/Program Files (x86)/Epic Games/4.12/Engine/Plugins/Runtime/Steam/SteamVR/Binaries/Android/UE4-SteamVR-armv7-es2.a'
MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: clang++.exe: error: no such file or directory: 'C:/Program Files (x86)/Epic Games/4.12/Engine/Plugins/Runtime/Steam/SteamVR/Binaries/Android/UE4-SteamVRController-armv7-es2.a'