在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

Unity Switch build error - linking against wrong Nintendo SDK

0 投票

Hello we're having issues with the Wwise Unity integration 2021.1

Until then we were using the following environment:
- Unity 2021.3.22
- Wwise 2021.1.13
- NX SDK 15.3

Everything was working correctly. But recently we had to upgrade the environment to the following:
- Unity 2021.3.24
- Wwise 2021.1.14
- NX SDK 16.2

With this environment we're now no longer able to build. It fails during the linking phase with the following errors

ld.lld: error: undefined symbol: nn::ldn::MakeIpv4Address(unsigned char, unsigned char, unsigned char, unsigned char)
>>> referenced by ldn_Ipv4Address.h:153 (C:/NintendoSwitch/NintendoSDK-15_3_2/NintendoSDK/Include\nn/ldn\ldn_Ipv4Address.h:153)
>>>               Communication.o:(_GLOBAL__sub_I_Communication.cpp) in archive E:\\projects\\Redacted\\Temp\\StagingArea\\NativePlugins\\libAkSoundEngineWrapper.a
>>> referenced by ldn_Ipv4Address.h:158 (C:/NintendoSwitch/NintendoSDK-15_3_2/NintendoSDK/Include\nn/ldn\ldn_Ipv4Address.h:158)
>>>               Communication.o:(_GLOBAL__sub_I_Communication.cpp) in archive E:\\projects\\Redacted\\Temp\\StagingArea\\NativePlugins\\libAkSoundEngineWrapper.a
>>> referenced by ldn_Ipv4Address.h:163 (C:/NintendoSwitch/NintendoSDK-15_3_2/NintendoSDK/Include\nn/ldn\ldn_Ipv4Address.h:163)
>>>               Communication.o:(_GLOBAL__sub_I_Communication.cpp) in archive E:\\projects\\Redacted\\Temp\\StagingArea\\NativePlugins\\libAkSoundEngineWrapper.a
>>> referenced 30 more times
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It seems the libAkSoundEngineWrapper.a native library references methods from the NX SDK 15.3 while we're trying to build against the NX SDK 16.2. The Wwise 2021.1.14 changelog states it is compatible against both versions, but that doesn't seem to be the case.

Is there anything we can do to be able to build with the NX SDK 16.2?

最新提问 1月 26 分类:General Discussion | 用户: Alban F. (100 分)
Any news on this? We might have a similar issue with SDK 16.2. Thanks!

Please sign-in or register to answer this question.

...