shellspace icon indicating copy to clipboard operation
shellspace copied to clipboard

Compilation issue on linux

Open maidenone opened this issue 10 years ago • 2 comments

jni/../../shellspace/file.cpp:26:29: fatal error: VrApi/JniUtils.h: No such file or directory #include <VrApi/JniUtils.h> ^ compilation terminated.

Is this still correct for newer versions of the sdk? I have not managed to get this to build.

shellspace/gearvr$ find ../ -name JniUtils.h ../external/ovr_mobile_sdk_0.4.3.1/VRLib/jni/VrApi/JniUtils.h ../external/ovr_mobile_sdk_0.5.0/VRLib/jni/LibOVR/Src/Android/JniUtils.h ../external/ovr_mobile_sdk_0.5.1/VRLib/jni/LibOVR/Src/Android/JniUtils.h

Looks like they have moved the files..

Just so i remember: Another note is that i got a error before in ovr 0.5.1 where it included Android/Log.h where the file is actually Android/log.h. compile of ovr works after change.

maidenone avatar Jun 10 '15 07:06 maidenone

That sounds correct; I'm still building against 0.4.3.1. It almost looks like they are taking JniUtils private... Sent from my Verizon Wireless 4G LTE smartphone

-------- Original message -------- From: Anton Fosselius [email protected] Date: 06/10/2015 3:38 AM (GMT-05:00) To: wadetb/shellspace [email protected] Subject: [shellspace] Compilation issue on linux (#2)

jni/../../shellspace/file.cpp:26:29: fatal error: VrApi/JniUtils.h: No such file or directory

#include

                         ^

compilation terminated.

Is this still correct for newer versions of the sdk?

I have not managed to get this to build.

shellspace/gearvr$ find ../ -name JniUtils.h

../external/ovr_mobile_sdk_0.4.3.1/VRLib/jni/VrApi/JniUtils.h

../external/ovr_mobile_sdk_0.5.0/VRLib/jni/LibOVR/Src/Android/JniUtils.h

../external/ovr_mobile_sdk_0.5.1/VRLib/jni/LibOVR/Src/Android/JniUtils.h

Looks like they have moved the files..

Just so i remember:

Another note is that i got a error before in ovr 0.5.1 where it included Android/Log.h where the file is actually Android/log.h. compile of ovr works after change.

— Reply to this email directly or view it on GitHub.

wadetb avatar Jun 10 '15 11:06 wadetb

For now, please compile against 0.4.3.1. I will keep this ticket open and close when I resolve the build issues. (I may skip 0.5.1 and go straight to the latest)

wadetb avatar Jun 13 '15 01:06 wadetb