Recently i developed cross-platform vr for mobiles, i choose to integrate gvr sdk ( ndk version) with Ogre.
I successfully integrate it with Ogre for android.
I obtained by jni a gvr context from which a gvr_api obtained by ndk ,then i can get head_view and do head tracking.
When i integrate it for iOS
I noted that a gvr_api can directly obtained by gvr_create() method.
In Ogre, i call gvr_create() in the applicationdidFinishLaunchingWithOptions method, which will run Ogre setup.
However, the app runs crash at gvr_create() call , the error reports as:
libsystem_c.dylib`strlen:
Recently i developed cross-platform vr for mobiles, i choose to integrate gvr sdk ( ndk version) with Ogre. I successfully integrate it with Ogre for android. I obtained by jni a gvr context from which a gvr_api obtained by ndk ,then i can get head_view and do head tracking.
When i integrate it for iOS I noted that a gvr_api can directly obtained by
gvr_create()
method.In Ogre, i call
gvr_create()
in the applicationdidFinishLaunchingWithOptions method, which will run Ogre setup.However, the app runs crash at gvr_create() call , the error reports as: libsystem_c.dylib`strlen:
Why? what should i note for , when i want to integrate gvr sdk for iOS c/c++ applications?