Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Unity Switch build error - linking against wrong Nintendo SDK

0 votes

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?

asked Jan 26 in General Discussion by Alban F. (100 points)
Any news on this? We might have a similar issue with SDK 16.2. Thanks!

Please sign-in or register to answer this question.

...