menu
 

Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

+2 votes
My Unreal project builds fine.

Your plugin builds fine.

Now when we try to use it, In code,(not like all your videos think is happening..), it wont compile.

RE: your CHM file indicates to add this line:

#include <AK/SoundEngine/Common/AkSoundEngine.h>

Without the include, everything builds fine:

1>------ Build started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------
1>  Target is up to date
1>  Copying D:\Dev\UE4\Engine\Binaries\Win64\ShaderCompileWorker.exe to D:\Dev\UE4\Engine\Binaries\Win64\XGEControlWorker.exe
1>          1 file(s) copied.
1>  Deploying ShaderCompileWorker Win64 Development...
1>  Total build time: 0.14 seconds (NoActionsToExecute executor: 0.00 seconds)
2>------ Build started: Project: AO, Configuration: Development_Editor x64 ------
2>  Performing 3 actions (12 in parallel)
2>  AudioManager.cpp
2>  [2/3] Link UE4Editor-AO.dll
2>  [3/3] Link UE4Editor-AO.lib
2>     Creating library D:\Dev\UE4\AO\Intermediate\Build\Win64\UE4Editor\Development\AO\UE4Editor-AO.lib and object D:\Dev\UE4\AO\Intermediate\Build\Win64\UE4Editor\Development\AO\UE4Editor-AO.exp
2>     Creating library D:\Dev\UE4\AO\Intermediate\Build\Win64\UE4Editor\Development\AO\UE4Editor-AO.suppressed.lib and object D:\Dev\UE4\AO\Intermediate\Build\Win64\UE4Editor\Development\AO\UE4Editor-AO.suppressed.exp
2>  Deploying AOEditor Win64 Development...
2>  Total build time: 3.31 seconds (Local executor: 1.33 seconds)
========== Build: 2 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========

 

But simply including your header, everything blows up:

2>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(536): warning C4005: 'TEXT': macro redefinition
2>  d:\dev\ue4\engine\source\runtime\core\public\HAL/Platform.h(854): note: see previous definition of 'TEXT'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(17005): warning C4668: '_APISET_RTLSUPPORT_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\interlockedapi.h(73): warning C4668: '_APISET_INTERLOCKED_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\processthreadsapi.h(1170): warning C4668: '_WIN32_WINNT_WINTHRESHOLD' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\securitybaseapi.h(357): warning C4668: '_APISET_SECURITYBASE_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\securitybaseapi.h(472): warning C4668: '_APISET_SECURITYBASE_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\securitybaseapi.h(1302): warning C4668: '_APISET_SECURITYBASE_VER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(8618): warning C4668: 'NTDDI_WIN7SP1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'

Have you guys actually done that?  Have you actually used your plugin as you direct others to use it?

Because so far its been many hours of modifying your code to get your plugin to actually plug in to unreal and compile and this is just one more rung in a long ladder.
in General Discussion by Dan H. (120 points)
edited by Bernard R. (Audiokinetic)
Running into these exact issues. Did you find a workaround?

Please sign-in or register to answer this question.

...