Cannot extend Media Sound Wave C++ class

I’m trying to extend the Media Sound Wave C++ class (MediaSoundWave.h) but I can’t recompile after creating a new class based on that. Also trying extending Sound Wave (Sound/SoundWave.h) gives me an error.

Error extending Media Sound Wave:


CompilerResultsLog:Error: Error D:\GitHub\UnrealEngine\Engine\Source\Runtime\MediaAssets\Public\MediaSoundWave.h(5)  : fatal error C1083: Cannot open include file: 'MediaSampleQueue.h': No such file or directoryD:\GitHub\UnrealEngine\Engine\Source\Runtime\MediaAssets\Public\MediaSoundWave.h(5) : fatal error C1083: Cannot open include file: 'MediaSampleQueue.h': No such file or directory

Error extending Sound Wave:


CompilerResultsLog:Error: Error D:/Program Files/Epic Games/4.9/Engine/Source/Runtime/MediaAssets/Public/MediaSoundWave.h(26)  : BlueprintReadWrite should not be used on private members

I’ve tried both the git tag 4.9.2-release (4.9.2-0+++depot+UE4-Releases+4.9) both the 4.9.2-2707645+++depot+UE4-Releases+4.9 from the Epic Games Launcher