I'm trying out the Oculus Mobile SDK V1.0.4, following the instructions at Android Studio Basics.
I imported the build.gradle file for VrCubeWorld_Framework and when switching to the Project view, all dependencies are shown in bold, including VrAppFramework.
When I try to build it though, I don't get very far. The first error I get is:
error: package com.oculus.vrappframework does not exist
in vrcubeworld\MainActivity.java.
It seems pretty obvious what's going on, it doesn't know about the activity in the framework, but how do I make that connection? Do I need to add it as an external library / project or something? Since it's already bold, I thought that would have been taken care of.
this helps: http://stackoverflow.com/questions/41405712/error-package-com-oculus-vrappframework-does-not-exist
But now I get these sort of errors
In file included from jni/../../../Src/FileLoader.cpp:20:
In file included from jni/../../../Src/Oculus360Photos.h:19:
In file included from jni/../../../../../../VrAppFramework/Projects/AndroidPrebuilt/jni/../../../Include/App.h:28:
In file included from jni/../../../../../../VrAppFramework/Projects/AndroidPrebuilt/jni/../../../Include/GlProgram.h:17:
jni/../../../../../../VrAppFramework/Projects/AndroidPrebuilt/jni/../../../../LibOVRKernel/Src/Kernel/OVR_Math.h:2251:48: error: instantiation of variable 'OVR::Matrix4<float>::IdentityValue' required here, but no definition is available [-Werror,-Wundefined-var-template]