plaidpants / soundstagevr

virtual reality music sandbox built specifically for room-scale VR
Apache License 2.0
44 stars 9 forks source link

Recompiling SoundStageNative.so #36

Closed ludzeller closed 3 years ago

ludzeller commented 3 years ago

I am trying to fix a bug in main.cpp (native sound lib) and now have to recompile the SoundStageNative.so for Android/Quest.

I figured out that I have to run Plugins/Android/src/build_plugin.sh via bash. I updated the path to my copy of the Android NDK.

The compile is running through and I get a fresh libnative.so.

$ ./build_plugin.sh         
Compiling NativeCode.c...                                     
[armeabi-v7a] Compile++ arm  : native <= main.cpp      
[armeabi-v7a] Compile++ arm  : native <= Filter.cpp    
[armeabi-v7a] SharedLibrary  : libnative.so                
[armeabi-v7a] Install        : libnative.so => libs/armeabi-v7a/libnative.so      
Cleaning up / removing build folders...                  
Done!                  
./build_plugin.sh: line 17: libs/armeabi/libnative.so: No such file or directory

There is an error on line 17, but I do not know what line 17 is doing...

Anyways, using this process I am not able to get a new SoundStageNative.so.

What am I missing?

Thank you!

ludzeller commented 3 years ago

Ah, apparently I just had to rename libnative.so to libSoundStageNative.so!