C++ build error in a file that I never touched

After making a weapon system and trying to compile I get this error.

AudioMixerPlatformXAudio2.h(8): [C1083] Cannot open include file: ‘xaudio2redist.h’: No such file or directory
I never edited this file, and when I try to I cant because its read only. I never even did anything related to audio so I’m very confused why I’m getting errors in this file. Hasnt happened with any other cpp project of mine.

2 Likes

I had same issue, I somehow add wrong include, removed it and build project
#include “AudioMixerXAudio2/Private/AudioMixerPlatformXAudio2.h”