Community Q&A

Where Wwise users help each other out!

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

Missing Header in UE4 4.8 Linux Cross-Compile

0 votes
I was recently tasked with adding Linux cross-compilation support to an existing UE4 project, and downloaded and configured the cross-compile toolchain successfully. (Calling %LINUX_ROOT%/bin/clang++ behaves as expected.) However, the UE4 project fails to compile because of a missing WWise header: "AkDefaultIOHookDeferred.h".

The header in question is available, but the structure of WWise is such that there are multiple versions of said header file, with the actual file to be included dependent on the platform.

Additionally, there is a related bit of platform strangeness with our current solution: while Linux is available in the solution platforms drop down, it is not available as an option in any of the configuration manager projects, and, if x64 is selected as the platform, the solution fails to find any of the engine header files, such as Core.h or UObject.h. The only way the project builds for Linux is to choose Win32. (Yet the default x64 platform is selected in the UBT config for Linux.)

Having never cross-compiled UE4 for Linux, I don't know what I should be seeing, but this is obviously incorrect, as it's not building. Does anyone have any suggestions?
asked May 2, 2016 in General Discussion by Steven D. (100 points)

Please sign-in or register to answer this question.