Game Development Community

Build errors - sfxxaudiodevice

by Matthew Koch · in 3D Isometric Kit · 05/28/2009 (2:18 pm) · 5 replies

Just downloaded the kit today. Am getting the following errors when building using VS 2008. Thoughts?


Error 1 error LNK2019: unresolved external symbol __imp__X3DAudioInitialize@12 referenced in function "public: __thiscall SFXXAudioDevice::SFXXAudioDevice(class SFXProvider *,char const *,struct IXAudio2 *,unsigned int,unsigned int,unsigned int)" (??0SFXXAudioDevice@@QAE@PAVSFXProvider@@PBDPAUIXAudio2@@III@Z) sfxXAudioDevice.obj iskDemo

Error 2 error LNK2019: unresolved external symbol __imp__X3DAudioCalculate@20 referenced in function "public: void __thiscall SFXXAudioDevice::_setOutputMatrix(class SFXXAudioVoice *)" (?_setOutputMatrix@SFXXAudioDevice@@QAEXPAVSFXXAudioVoice@@@Z) sfxXAudioDevice.obj iskDemo

Error 3 fatal error LNK1120: 2 unresolved externals ../../../game/iskDemo_DEBUG.exe iskDemo

#1
05/29/2009 (8:05 am)
Nevermind... I found a setup problem with directx sdk that resolved this.
#2
05/29/2009 (11:01 am)
i figured it had something to do with directx
#3
08/03/2009 (2:19 am)
Matt, how did you fix this? I have the same error. Did you re set up directx?
#4
08/05/2009 (8:51 am)
Yes, I re-installed the directx sdk and made sure Visual Studio included the proper links to find the dlls/libraries.
#5
04/12/2010 (10:21 am)
I just redownloaded and could not compile with VS.NET 2010 with multiple libraries not being found despite having them explicitly linked. I switched back to VS.NET 2008 with the project files available for download and even though I have the xaudio3d.lib files explicitly included in the project, I am still getting these errors.

I have reinstalled the DirectX SDK to no avail.

Is anyone still having issues with this? I'm not ruling out a path issue but I have done what I feel I can.

Can anyone help? I can't move forward to use this. I haven't been able to compile successfully since using VS.NET 2005.

Thanks!
-Caolan.