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.

0 votes

Please resolve the following build warnings in the AkAudio UE4 plugin source. Note that this also may be contributing to bloated bins. I've included our workaround, below.

- thanks

Warning:
You have included windows.h or wrl.h before XboxOneMinApi.h ParallelExecutor.Execute:   All useless stuff from the windows headers won't be excluded !!!
 

Engine\Plugins\Wwise\ThirdParty\include\AK\Tools\Win32\AkLock.h

#ifndef _AKLOCK_H_
#define _AKLOCK_H_

#include <AK/SoundEngine/Common/AkTypes.h>
#pragma region PROBABLY_MONSTERS_CUSTOM
//#include <windows.h>
#if defined(AK_WIN)
//For CRITICAL_SECTION
//#include "Windows/MinimalWindowsApi.h"
#include "Windows/WindowsCriticalSection.h"
#elif defined(AK_XBOXONE)
//For CRITICAL_SECTION
//#include "XboxOne/XboxOneMinApi.h"
#include "XboxOne/XboxOneCriticalSection.h"
#endif
// TODO: Other platforms?
#pragma endregion PROBABLY_MONSTERS_CUSTOM


Engine\Plugins\Wwise\ThirdParty\include\AK\Tools\Win32\AkPlatformFuncs.h

#ifndef _AK_PLATFORM_FUNCS_H_
#define _AK_PLATFORM_FUNCS_H_

#include "malloc.h"
#include <AK/Tools/Common/AkAssert.h>
#include <AK/SoundEngine/Common/AkTypes.h>
#pragma region PROBABLY_MONSTERS_CUSTOM
//#include <windows.h>
#if defined(AK_WIN)
#include "Windows/MinimalWindowsApi.h"
//#include "Windows/WindowsCriticalSection.h"
#elif defined(AK_XBOXONE)
#include "XboxOne/XboxOneMinApi.h"
//#include "XboxOne/XboxOneCriticalSection.h"
#endif
// TODO: Other platforms?
#pragma endregion PROBABLY_MONSTERS_CUSTOM
//#define AK_ENABLE_PERF_RECORDING
#if defined(AK_ENABLE_PERF_RECORDING)
#include <stdio.h>
#endif

Engine\Plugins\Wwise\Source\AudiokineticTools\Private\AkAudioBankGenerationHelpers.cpp

#include "AudiokineticToolsPrivatePCH.h"
#include "AkAudioBankGenerationHelpers.h"
#include "AkAudioClasses.h"
#include "SGenerateSoundBanks.h"
#pragma region PROBABLY_MONSTERS_CUSTOM
/*
#include "MainFrame.h"
*/
#pragma endregion PROBABLY_MONSTERS_CUSTOM
#include "Runtime/Core/Public/Misc/FileHelper.h"
#include "Runtime/Core/Public/HAL/PlatformFilemanager.h"

#include "AkSettings.h"
#include "AssetRegistryModule.h"
#include "Interfaces/IMainFrameModule.h"
#include "Interfaces/ITargetPlatformManagerModule.h"
#include "Interfaces/ITargetPlatform.h"

 

in Feature Requests by Paul B. (160 points)

Please sign-in or register to answer this question.

...