Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
I'm currently updating Wwise to 2019.2.1 and having difficulty rebuilding a plugin I wrote a couple of months ago. There are no changes to the plugin code which is thoroughly tested. It builds without any problems for Windows. I believe the Android build (using build tools) is failing due to the spaces in the Wwise SDK path.

When I run the build script I get the following output:

C:\Dev\Tools\HornetFilter>python "%WWISEROOT%/Scripts/Build/Plugins/wp.py" build Android -c debug
Building HornetFilter for Android in debug...
Building Android in debug using ndk-build. Build Command:
C:\NVPACK\android-ndk-r17c\ndk-build all -j 8 NDK_PROJECT_PATH=.\ PM5_CONFIG=debug_android_armeabi-v7a NDK_APPLICATION_MK=HornetFilter_Android_application.mk NDK_LIBS_OUT=C:/Program Files (x86)/Audiokinetic/Wwise 2019.2.1.7250/SDK/Android_armeabi-v7a/debug/libs NDK_OUT=C:/Program Files (x86)/Audiokinetic/Wwise 2019.2.1.7250/SDK/Android_armeabi-v7a/debug/lib NDK_APP_OUT=C:/Program Files (x86)/Audiokinetic/Wwise 2019.2.1.7250/SDK/Android_armeabi-v7a TARGET_OUT=C:/Program Files (x86)/Audiokinetic/Wwise 2019.2.1.7250/SDK/Android_armeabi-v7a/debug/lib
Android NDK: WARNING: APP_STL gnustl_static is deprecated and will be removed in the next release. Please switch to either c++_static or c++_shared. See https://developer.android.com/ndk/guides/cpp-support.html for more information.
Android NDK: WARNING: Deprecated NDK_TOOLCHAIN_VERSION value: 4.9. GCC is no longer supported and will be removed in the next release. See https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md.
make: *** No rule to make target `Files'.  Stop.
make: *** Waiting for unfinished jobs....
[armeabi-v7a] Install        : libHornetFilter.so => C:/Program/armeabi-v7a/libHornetFilter.so

The error "No rule to make target 'Files'" appears to be referring to part of "C:/Program Files (x86)/...." following the first space.

The final line shows the built lib being copied to "C:/Program/armeabi...." which also looks like a mangling of the Wwise path. The script has indeed created a folder C:\Program and copied files to it.

I have looked in the make files for a definition of the output paths but there isn't one so it must be defined somewhere in the scripts. How can I fix this?

Thanks
in General Discussion by Ciaran W. (100 points)

1 Answer

0 votes
> I believe the Android build (using build tools) is failing due to the spaces in the Wwise SDK path.

You are correct, the issue is related to the whitespaces being unescaped for make to process.

As a workaround, you can specify an installation of Wwise located in a path without spaces (e.g., you can copy the Wwise installation folder to your C:\ and build using this installation instead).
by Samuel L. (Audiokinetic) (23.6k points)
...