menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표
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
General Discussion Ciaran W. (100 포인트) 로 부터

1 답변

0 투표
> 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).
Samuel L. (Audiokinetic) (23.6k 포인트) 로 부터
...