menu
 

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

0 투표

HI,

I'm running UE4 version 4.5 and Wwise SDK version 2014.1.1 Build 5179 and I am having linking errors when trying to use the Wwise specific classes in my C++ game project.  Something just as simple as FAkAudioDevice::Get() causes an unresolved external symbol linking error.  I was able to use the suplied Wwise demo project with no problems, but creating my new c++ project I am getting linking errors if I try to use any of the Wwise classes.

 

Error output from Visual Studio:

MyPawn.cpp.obj : error LNK2019: unresolved external symbol "public: static class FAkAudioDevice * __cdecl FAkAudioDevice::Get(void)" (?Get@FAkAudioDevice@@SAPEAV1@XZ) referenced in function "public: void __cdecl AMyPawn::OnMouseClick(void)" (?OnMouseClick@AMyPawn@@QEAAXXZ)
1>C:\Projects\Unreal\Projects\MyProject2\Binaries\Win64\UE4Editor-MyProject2.dll : fatal error LNK1120: 1 unresolved externals


 

Any ideas?

 

Thanks,

Jared

General Discussion Jared M. (220 포인트) 로 부터
수정 Jared M. 로 부터

1 답변

0 투표
 
우수 답변

In your game's build script, make sure you include a dependency on the AkAudio module, as so:

            PublicDependencyModuleNames.Add("AkAudio");

 
Benoit S. (Audiokinetic) (16.0k 포인트) 로 부터
선택됨 Jared M. 로 부터
Thanks!  I eventually figured it out but forgot to come back here an post that.

I'm getting another unresolved external symbol linker error trying to use AK::SoundEngine::GetIDFromString(), any help for this one?
Another unresolved external symbol Linker error UE4
...