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.

0 votes
I'm probably dumb but I can't get Wwise working with linux
I know I'm missing SDL but I'm kind of lost of how to link it at this point. I am using CMake to link these libs. If possible could someone help me out.

/home/graphics/Documents/Graphics_Computer/Psylight/Engine/src/../ExternalDependencies/ONE-Shippable/lib/linux/Debug/libAkSoundEngine.a(AkSink.o): In function `CAkSinkSDL2::_Init()':
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:270: undefined reference to `SDL_WasInit'
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:272: undefined reference to `SDL_Init'
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:277: undefined reference to `SDL_memset'
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:290: undefined reference to `SDL_OpenAudioDevice'
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:297: undefined reference to `SDL_OpenAudioDevice'
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:323: undefined reference to `SDL_OpenAudioDevice'
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:329: undefined reference to `SDL_GetError'
/home/graphics/Documents/Graphics_Computer/Psylight/Engine/src/../ExternalDependencies/ONE-Shippable/lib/linux/Debug/libAkSoundEngine.a(AkSink.o): In function `CAkSinkSDL2::Reset()':
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:348: undefined reference to `SDL_PauseAudioDevice'
/home/graphics/Documents/Graphics_Computer/Psylight/Engine/src/../ExternalDependencies/ONE-Shippable/lib/linux/Debug/libAkSoundEngine.a(AkSink.o): In function `CAkSinkSDL2::Term(AK::IAkPluginMemAlloc*)':
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:358: undefined reference to `SDL_PauseAudioDevice'
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Linux/AkSink.cpp:359: undefined reference to `SDL_CloseAudioDevice'
/home/graphics/Documents/Graphics_Computer/Psylight/Engine/src/../ExternalDependencies/ONE-Shippable/lib/linux/Debug/libCommunicationCentral.a(Communication.o): In function `AK::Comm::Init(AkCommSettings const&)':
/var/jenkins/workspace/Linux_2015.1/Wwise/SDK/source/SoundEngine/Communication/Remote/Linux/../CodeBase/Communication.cpp:122: undefined reference to `AkCreateProxyFramework(int)
in General Discussion by Jeffrey U. (270 points)
edited by Jeffrey U.

1 Answer

+1 vote
 
Best answer

I figured this out. CMake doesn't know where SDL2 is when I try to build so I had to make my own FindSDL2.cmake

by Jeffrey U. (270 points)
selected by Benoit S. (Audiokinetic)
Did the SDL2 solution also fix AkCreateProxyFramework error?
What solved this for me, was moving libCommunicationCentral.a to the top of my list of AK libs.
...