These are chat archives for highfidelity/hifi

16th
Jun 2017
TheWizardsQuiver
@TheWizardsQuiver
Jun 16 2017 04:57
Hi @cozza13 , sorry I did not respond sooner, yesterday a hard drive failed, and I have been dealing with that. I think I have completely recovered. I am now working on a Linux computer. I seem to have gotten past all of the cmake problems, and am compiling. I just ran into an issue, where DaydreamHelpers.cpp is trying to include daydreamHelpers.h, but the compiler cannot find it because the actual file is named DaydreamHelpers.h, with a capital D at the beginning. Being Linux, it is case sensitive. It is included in 2 other files and they spell it DaydreamHelpers.h, so I am changing the code in DaydreamHelpers.cpp.
Neet Bhagat
@NeetBhagat
Jun 16 2017 05:40
Thank you @Atlante45 !!!
Clément Brisset
@Atlante45
Jun 16 2017 16:46
Thank you for the automatic HMD mode switch! People are loving it here =)
Neet Bhagat
@NeetBhagat
Jun 16 2017 18:02
Awesome :) :+1:
Always happy to help people... Thanks a lot for your support..
Mohammed Nafees
@mnafees
Jun 16 2017 18:28
I getthis error on every fresh build
make[3]: *** No rule to make targetext/makefiles/quazip/project/lib/libquazip5d.1.0.0.dylib', needed by plugins/hifiSixense/libhifiSixense.dylib'. Stop. make[2]: *** [plugins/hifiSixense/CMakeFiles/hifiSixense.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** No rule to make targetext/makefiles/quazip/project/lib/libquazip5d.1.0.0.dylib', needed by plugins/hifiNeuron/libhifiNeuron.dylib'. Stop. make[2]: *** [plugins/hifiNeuron/CMakeFiles/hifiNeuron.dir/all] Error 2 make[3]: *** No rule to make targetext/makefiles/quazip/project/lib/libquazip5d.1.0.0.dylib', needed by plugins/hifiSdl2/libhifiSdl2.dylib'. Stop. make[2]: *** [plugins/hifiSdl2/CMakeFiles/hifiSdl2.dir/all] Error 2 make[3]: *** No rule to make targetext/makefiles/quazip/project/lib/libquazip5d.1.0.0.dylib', needed by plugins/oculusLegacy/liboculusLegacy.dylib'. Stop. make[2]: *** [plugins/oculusLegacy/CMakeFiles/oculusLegacy.dir/all] Error 2
TheWizardsQuiver
@TheWizardsQuiver
Jun 16 2017 19:07

Hi @cozza13 my make is at 99% done. It is failing because it cannot find AudioCodec.h, which is being included in HiFiCodec.cpp.
AudioCodec.h is not on my computer. I found it on a Windows computer, where I was working on a build of the master branch.
It is down the ext branch of the file hierarchy. In hifi/cmake/externals/hifiAudioCodec/CMakeLists.txt, pretty much everything is turned off if ANDROID is true.
Something seems inconsistent here.

I am working on a Linux computer.
these are my settings in .bashrc:

the root of your Android NDK install

export ANDROID_NDK=~/Android/android-ndk-r12b

- the root of your Android SDK install

export ANDROID_HOME=~/Android/Sdk

- the directory containing cross-compiled versions of dependencies

export ANDROIDLIBDIR=/home/me/Desktop/StageNine/Experiments/HighFidelity
export HIFI_ANDROID_GVR=gvr-android-sdk
export SCRIBE_PATH=/home/me/StageNine/Experiments/scribe

This is the call I use to invoke cmake:
cmake -DUSE_ANDROID_TOOLCHAIN=1 -DANDROID=1 -DANDROID_LIB_DIR=/home/me/StageNine/Experiments/HighFidelity ../hifi

Also this is set in my CMakeCache:
//Presence of hifiAudioCodec as external target
HIFIAUDIOCODEC_EXTERNAL_PROJECT:BOOL=FALSE
I tried setting it to true, but it did not change anything.
Is there something obviuos that I am doing wrong?
Thanks

Chris Collins
@cozza13
Jun 16 2017 20:13
@TheWizardsQuiver I did not compile with Linux. I asked one of our linux dev's who compiles the client in linux. He said he has
./plugins/libhifiCodec.so
./plugins/libpcmCodec.so
TheWizardsQuiver
@TheWizardsQuiver
Jun 16 2017 22:03
OK, I am a little confused, I assume that you and I are both making the same apk, and that those apks must both must have the same stuff in them, no matter what platform they are built on. Is that correct, or am I missing something?
TheWizardsQuiver
@TheWizardsQuiver
Jun 16 2017 22:22
@cozza13 So, what I am trying to get at here is that it sounds like you do not need the 2 .so files above. If that is the case, then I should not need them either, which is what I have been suspecting all along.