[Stk] DirectSound on Windows 7?

Nick caprice24 at yahoo.com
Wed Mar 9 22:06:25 PST 2011


Hi,
I'm having trouble with the following cpp files:
RtAudio
RTMidi
RtWvIn
RtWvOut
 
which I understand make use of DirectSound API in Windows. Since I'm running Windows 7 on a 64 bit laptop, I'm wondering if the reason these files are failing to link is because DirectSound is no longer supported on Win 7?
 
I do have the preprocessor directive _WINDOWS_DS_   specified on the C++ command line build argument with Visual Studio 2010.
 
Errors from the compile are shown below.
 
Thanks,
Nick
 
1>RtAudio.obj : error LNK2019: unresolved external symbol _DirectSoundCaptureEnumerateA at 8 referenced in function "public: virtual unsigned int __thiscall RtApiDs::getDeviceCount(void)" (?getDeviceCount at RtApiDs@@UAEIXZ)
1>RtAudio.obj : error LNK2019: unresolved external symbol _DirectSoundEnumerateA at 8 referenced in function "public: virtual unsigned int __thiscall RtApiDs::getDeviceCount(void)" (?getDeviceCount at RtApiDs@@UAEIXZ)
1>RtAudio.obj : error LNK2019: unresolved external symbol _DirectSoundCaptureCreate at 12 referenced in function "public: virtual struct RtAudio::DeviceInfo __thiscall RtApiDs::getDeviceInfo(unsigned int)" (?getDeviceInfo at RtApiDs@@UAE?AUDeviceInfo at RtAudio@@I at Z)
1>RtAudio.obj : error LNK2019: unresolved external symbol _DirectSoundCreate at 12 referenced in function "public: virtual struct RtAudio::DeviceInfo __thiscall RtApiDs::getDeviceInfo(unsigned int)" (?getDeviceInfo at RtApiDs@@UAE?AUDeviceInfo at RtAudio@@I at Z)
1>RtWvIn.obj : error LNK2019: unresolved external symbol "public: void __thiscall stk::Mutex::unlock(void)" (?unlock at Mutex@stk@@QAEXXZ) referenced in function "public: void __thiscall stk::RtWvIn::fillBuffer(void *,unsigned int)" (?fillBuffer at RtWvIn@stk@@QAEXPAXI at Z)
1>RtWvOut.obj : error LNK2001: unresolved external symbol "public: void __thiscall stk::Mutex::unlock(void)" (?unlock at Mutex@stk@@QAEXXZ)
1>RtWvIn.obj : error LNK2019: unresolved external symbol "public: void __thiscall stk::Mutex::lock(void)" (?lock at Mutex@stk@@QAEXXZ) referenced in function "public: void __thiscall stk::RtWvIn::fillBuffer(void *,unsigned int)" (?fillBuffer at RtWvIn@stk@@QAEXPAXI at Z)
1>RtWvOut.obj : error LNK2001: unresolved external symbol "public: void __thiscall stk::Mutex::lock(void)" (?lock at Mutex@stk@@QAEXXZ)
1>RtWvIn.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall stk::Mutex::~Mutex(void)" (??1Mutex at stk@@UAE at XZ) referenced in function "public: virtual __thiscall stk::RtWvIn::~RtWvIn(void)" (??1RtWvIn at stk@@UAE at XZ)
1>RtWvOut.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall stk::Mutex::~Mutex(void)" (??1Mutex at stk@@UAE at XZ)
1>RtWvIn.obj : error LNK2019: unresolved external symbol "public: __thiscall stk::Mutex::Mutex(void)" (??0Mutex at stk@@QAE at XZ) referenced in function "public: __thiscall stk::RtWvIn::RtWvIn(unsigned int,double,int,int,int)" (??0RtWvIn at stk@@QAE at INHHH@Z)
1>RtWvOut.obj : error LNK2001: unresolved external symbol "public: __thiscall stk::Mutex::Mutex(void)" (??0Mutex at stk@@QAE at XZ)
1>.\sine.exe : fatal error LNK1120: 8 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:10.83
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20110309/9ecca626/attachment.html 


More information about the Stk mailing list