Game Development Community

1.8 linker errors

by Kirk Longendyke · in Torque Game Engine Advanced · 11/17/2008 (10:00 pm) · 3 replies

Repro: compile from stock vs2003 buildfiles

SfxDSBuffer.obj : error LNK2001: unresolved external symbol _IID_IDirectSoundBuffer8
sfxDSBuffer.obj : error LNK2001: unresolved external symbol _DS3DALG_HRTF_FULL
sfxDSDevice.obj : error LNK2001: unresolved external symbol _IID_IDirectSound3DListener
sfxDSVoice.obj : error LNK2001: unresolved external symbol _IID_IDirectSound3DBuffer

#1
11/19/2008 (5:10 pm)
It's likely that VS2003 errors will crop up, as we aren't focusing testing time to it. Not sure what to say here as far as that specific error.. do you have the updated DirectX SDK installed? Does that work with VS2003?
#2
11/19/2008 (9:44 pm)
That looks like somehow dsound.lib did not get into the vs2003 linker settings.

I *thought* that should be done via the project generator automatically... but something must be wrong with that.
#3
11/19/2008 (10:20 pm)
In order: I've been working with vs2003 and directxsdk april2007 for quite a while now, even released a game based on 1.03 with it, and was prototyping with 1.7.1 for this other. And no, dsound.lib wasn't listed, nor present alongside the rest of the d8 libs as I would have expected.

Moot point this end though, since after 5 years and 2 releases in a row now with nonfunctional build setups, I decided to just bite the bullet and put the old compiler to bed till I hit something microsoft decided I don't need access to.