When initializing xAudio2 in Eclipse there comes an error: undefined reference to `XAudio2Create'.
1 2 3
|
IXAudio2* pXAudio2 = nullptr;
if (FAILED(hr = XAudio2Create(&pXAudio2, 0, XAUDIO2_DEFAULT_PROCESSOR)))
cout << hr;
|
What is causing this, and what is the solution?
Last edited on
Last edited on