Hi there . I have some problem.
I’m having a hard time solving a problem.
I tried to add and play “MediaSoundComponent.h” in cpp, but I received the following error code.
1>C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\AudioMixer\Public\Quartz\AudioMixerQuantizedCommands.h(31): error C2838: ‘PlaySoundW’: illegal qualified name in member declaration
1>C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\AudioMixer\Public\Quartz\AudioMixerQuantizedCommands.h(31): error C2440: ‘return’: cannot convert from ‘BOOL (__cdecl *) (LPCWSTR,HMODULE,DWORD)’ to ‘EQuartzCommandType’
1>C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\AudioMixer\Public\Quartz\AudioMixerQuantizedCommands.h(31): note: There is no context in which this conversion is possible
I’m doing my best to find the cause of the error, but it’s unclear what it’s conflicting with.
An external plugin is fetching the OPENCV-4.5.5 dll with CUDA added via CMAKE. Is this the problem?
Or is there any other solution? Help !